User Tools

Site Tools


blogfiles:wpad.dat
function FindProxyForURL(url, host)
{
    if (isPlainHostName(host) || dnsDomainIs(host, ".domain.tld"))
        return "DIRECT";
    if ( isInNet(host, "127.0.0.0", "255.255.0.0") )
        return "DIRECT";
    if ( isInNet(host, "192.168.1.0", "255.255.255.0") )
        return "DIRECT";
 
    return "PROXY 192.168.1.3:8080";
}
blogfiles/wpad.dat.txt · Last modified: 2009/05/27 16:40 by brb