close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of AdminProxy


Ignore:
Timestamp:
Oct 24, 2011, 4:21:48 PM (15 years ago)
Author:
Rüdiger Kupper
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminProxy

    v1 v2  
    33= Proxy-Konfiguration =
    44
    5 (Details zu unseren Proxies hierher)
     5== Proxy im grünen Netz ==
     6
     7Aus #250:
     8
     9Wir haben im grünen Netz zwei Verfahren, wie man ins Internet kommt:
     10
     11 1. DNS:     paedml.kg-fds.de (10.32.1.1)\\
     12    WPAD:    paedml.kg-fds.de\\
     13    Gateway: ipcop.kg-fds.de (transparent, deshalb DIRECT)\\
     14    liefert die folgende wpad.dat, da IPCop transparent ist:
     15    {{{
     16    function FindProxyForURL(url, host)
     17    {
     18      return "DIRECT";
     19    }
     20    }}}
     21 1. DNS:     10.32.1.251 (GreenProxy)\\
     22    WPAD:    10.32.1.251\\
     23    Gateway: 10.32.1.251 (Nicht transparent, Squid auf Port 3128)\\
     24    liefert folgende wpad.dat:
     25    {{{
     26function FindProxyForURL(url, host)
     27{
     28lurl = url.toLowerCase();
     29
     30if ((lurl.substring(0, 5) == "http:") ||
     31    (lurl.substring(0, 4) == "ftp:" ) ||
     32    (lurl.substring(0, 6) == "https:"))
     33  if ((isPlainHostName(host) && !localHostOrDomainIs(host, "www")) ||
     34      (dnsDomainIs(host, ".kg-fds.de") && !localHostOrDomainIs(host, "www.kg-fds.de")) ||
     35      (host.substring(0, 6) == "10.32."))
     36      return "DIRECT";
     37  else
     38      return "PROXY 10.32.1.251:3128";
     39else
     40   return "DIRECT";
     41}
     42
     43    }}}
     44
     45
     46== Proxy an der Kommandozeile ==
     47
     48Der folgende Aufruf sollte den Proxy an der Kommandozeile setzen:
     49{{{
     50export http_proxy=http://<username>:<password>@10.32.1.251:3128/
     51}}}
     52
     53
     54== Squid ==
     55
     56Auf 10.32.1.253 läuft ein [wikipedia:Squid_(software) Squid].
     57
    658
    759