syscrash
asked on
WPAD / Proxy
We're setting up a content filter system using Dansguardian + squid. It's working pretty well doing differential filtering based on AD group. The problem we're having right now is that we want everything local to be bypassed, ie: any local domain / ip address etc should not use the proxy at all but all traffic going outside of our network should go through the proxy. Our wpad.dat file is pretty simple
function FindProxyForURL(url, host) {
// If specific URL needs to bypass proxy, send traffic direct.
if (shExpMatch(url,"*localdom ain") ||
shExpMatch(url,"*.phobos.a pple.com.e dgesuite.n et") ||
shExpMatch(url,"172*"))
return "DIRECT";
else
return "PROXY proxyname:8080";
}
So anything matching localdomain in the URL field should not go through the proxy at all, same with urls that begin with 172. Our clients see the proxy and use it just fine but our bypass rules are not working. I have tried a number of different ways and seem to get the same results.
Any ideas?
function FindProxyForURL(url, host) {
// If specific URL needs to bypass proxy, send traffic direct.
if (shExpMatch(url,"*localdom
shExpMatch(url,"*.phobos.a
shExpMatch(url,"172*"))
return "DIRECT";
else
return "PROXY proxyname:8080";
}
So anything matching localdomain in the URL field should not go through the proxy at all, same with urls that begin with 172. Our clients see the proxy and use it just fine but our bypass rules are not working. I have tried a number of different ways and seem to get the same results.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are we done here?