по совету
res2001 было решено использовать wpad, рабочий wpad.dat ниже:
function FindProxyForURL(url, host)
{
// Don't proxy local hostnames
if (isPlainHostName(host)) {return "DIRECT";}
// Don't proxy local addresses
if (isInNet(host, "192.168.0.0", "255.255.254.0")) {return "DIRECT";}
if (isInNet(host, "192.168.2.0", "255.255.255.0")) {return "DIRECT";}
if (isInNet(host, "192.168.10.0", "255.255.254.0")) {return "DIRECT";}
if (isInNet(host, "192.168.15.0", "255.255.255.0")) {return "DIRECT";}
if (isInNet(host, "192.168.51.0", "255.255.255.0")) {return "DIRECT";}
// Don't proxy local hosts
if (shExpMatch(host, "127.0.0.1" )) {return "DIRECT";}
if (shExpMatch(host, "*/localhost*" )) {return "DIRECT";}
// Don't proxy local domains
if (dnsDomainIs(host, ".mydomain.ru")) {return "DIRECT";}
if (dnsDomainIs(host, ".mydomain2.ru")) {return "DIRECT";}
// proxy override
if (shExpMatch(url, "*.7cont.ru*")) {return "DIRECT";}
if (shExpMatch(url, "*.rbk.ru*")) {return "DIRECT";}
if (shExpMatch(url, "*.rbc.ru*")) {return "DIRECT";}
// other all go to proxy
return "PROXY proxy:3128; DIRECT";
}