init III
This commit is contained in:
51
Proxy Skripts/proxy_agib.pac
Normal file
51
Proxy Skripts/proxy_agib.pac
Normal file
@@ -0,0 +1,51 @@
|
||||
function FindProxyForURL(url, host)
|
||||
{
|
||||
// Proxy Konfig Start
|
||||
|
||||
// variable strings to return
|
||||
var proxy_icf = "PROXY 130.35.0.130:8080";
|
||||
var proxy_agib = "PROXY 10.80.1.1:8080";
|
||||
var proxy_no = "DIRECT";
|
||||
|
||||
|
||||
// Keinen Proxy nutzen für:
|
||||
// ... lokale Maschine
|
||||
if (shExpMatch(url, "*localhost*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*127.0.0.1*")) { return proxy_no; }
|
||||
|
||||
// ... Mail
|
||||
if (shExpMatch(url, "LNDOMSRV001*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "LNDOMSRV002*")) { return proxy_no; }
|
||||
|
||||
// ... ICF Netze
|
||||
if (shExpMatch(url, "*10.10.*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*130.35.0.*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*192.169.1.*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*192.168.*")) { return proxy_no; }
|
||||
|
||||
// ... ICF Webseiten
|
||||
if (shExpMatch(url, "*mvicfsp001*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*qmhandbuch*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*qmicf*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*faq*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*130.35.0.90*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*sammax*")) { return proxy_no; }
|
||||
|
||||
// ... AGIB Netze
|
||||
if (shExpMatch(url, "*10.80.*")) { return proxy_no; }
|
||||
if (shExpMatch(url, "*10.90.*")) { return proxy_no; }
|
||||
|
||||
|
||||
if (isInNet(myIpAddress(), "170.208.1.0", "255.255.255.0"))
|
||||
{ return proxy_agib; }
|
||||
|
||||
|
||||
if (isInNet(myIpAddress(), "170.20.1.0", "255.255.255.0"))
|
||||
{ return proxy_icf; }
|
||||
|
||||
|
||||
// Sonst kein Proxy
|
||||
return proxy_no;
|
||||
|
||||
// Proxy Konfig Ende
|
||||
}
|
||||
Reference in New Issue
Block a user