I have deployed a wpad.dat. Works like a charm except for some users that are connected to two networks at the same time (ethernet and another networkadapter that emulates an analog modem for fax). I also tested this with my notebook. When I connect to the LAN through cable and at the same time to another network through WiFi, I do not get a connection to the internet. When I provide the proxy address directly, it works.
How do I have to change my script, in order to solve my problem?
function FindProxyForURL(url, host) {
if (isInNet(host, "127.0.0.1", "255.255.255.255"))
return "DIRECT";
if (shExpMatch(url, "*.intranet.*/*"))
return "DIRECT";
if (isInNet(myIpAddress(), "172.0.0.0", "255.255.0.0"))
return "PROXY 10.1.1.254:8080";
return "DIRECT";
}