Link to home
Start Free TrialLog in
Avatar of syscrash
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,"*localdomain") ||
            shExpMatch(url,"*.phobos.apple.com.edgesuite.net") ||
            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
Avatar of Keith Alabaster
Keith Alabaster
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Are we done here?