This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Proxy Auto Configuration

Hello, i have question abou Proxy Auto Configuration. I distribute proxy configuration to users browsers everything works, but only problem is with internal web pages on local server in my network 192.168.100.0/24
for example ,, http://lunches:81 "
The configuration forward all requests to proxy and outside. See attacj files and configuration.
function FindProxyForURL(url, host) {
    //Don't proxy connections to the UTM web interface
    if (shExpMatch(url, "https://${asg_hostname}*")) return "DIRECT";
    if (shExpMatch(url, "https://" + dnsResolve(host) + "*")) return "DIRECT";
    //Don't proxy connections to the exempted URL matches
    if (shExpMatch(url, "mn.***.local")) return "DIRECT";
    if (shExpMatch(url, "test-mn")) return "DIRECT";
    if (shExpMatch(url, "localhost")) return "DIRECT";
    if (isInNet(myIpAddress(), "192.168.5.0", "255.255.255.0")) {return "PROXY 192.168.101.254:8080" ;}
   if (isInNet(myIpAddress(), "192.168.100.0", "255.255.254.0")) {return "PROXY 192.168.101.254:8080" ;}
   if (isInNet(myIpAddress(), "172.20.100.0", "255.255.255.0")) {return "PROXY 192.168.101.254:8080" ;}
   if (isInNet(myIpAddress(), "127.0.0.1", "255.255.255.255")) {return "PROXY 192.168.101.254:8080" ;}
   if (isInNet(myIpAddress(), "192.168.101.254", "255.255.255.255")) {return "PROXY 192.168.101.254:8080" ;}

    return "DIRECT";
}


Is there any config for not use proxy for internal network as in IE manula configuration proxy settings.

Thanks a lot for any help.

PS: I created this pac file with program pac magic


This thread was automatically locked due to age.
Parents Reply Children
No Data