Proxy.pac simple: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „function FindProxyForURL(url, host) { if (isInNet(host, "10.0.0.0", "255.0.0.0")) { return "DIRECT"; } if (isInNet(host, "172.16.0.0", "255.240.0.0"))…“) |
(kein Unterschied)
|
Version vom 17. Oktober 2019, 10:08 Uhr
function FindProxyForURL(url, host) {
if (isInNet(host, "10.0.0.0", "255.0.0.0"))
{ return "DIRECT";
}
if (isInNet(host, "172.16.0.0", "255.240.0.0"))
{ return "DIRECT";
}
if (isInNet(host, "192.168.0.0", "255.255.0.0"))
{ return "DIRECT";
}
}
else { return "PROXY 10.80.0.3:3128"; } }