FileName: wpad.pac
Java Script Content for Wpad.pac
function FindProxyForURL(url, host)
{
if (
(isPlainHostName(host)) ||
(dnsDomainIs(host,".xxxxxxx.com")) ||
(dnsDomainIs(host,".aesdirect.gov")) ||
(dnsDomainIs(host,".adobe.com")) ||
(dnsDomainIs(host,".symantec.com")) ||
(dnsDomainIs(host,".symantecliveupdate.com")) ||
(dnsDomainIs(host,".windowsupdate.com")) ||
(dnsDomainIs(host,".microsoft.com")) ||
(dnsDomainIs(host,".smartxxxxx.com")) ||
(dnsDomainIs(host,".citigroup.com")) ||
(dnsDomainIs(host,".citibank.com")) ||
(isInNet(host,"192.168.0.0","255.255.0.0")) ||
(isInNet(host,"208.xx.xx.0","255.255.255.0")) ||
(isInNet(host,"127.0.0.1","255.255.255.255")) ||
(isInNet(host,"172.28.1.0","255.255.255.0")) ||
(isInNet(host,"172.29.1.0","255.255.255.0")) ||
(isInNet(host,"172.16.52.0","255.255.255.0"))
)
return "DIRECT";
else return "PROXY proxyservername.xxxxx.com:port#; DIRECT";
}
2. Put the wpad.pac on webserver.
The url is http://webservername/wpad.pac
3. Configure AD Group Policy to Apply the proxy setting.
Go to User Configuration---Windows Settings---Internet Explorer Maintenance---Connection---Automatic Browser Configuration---(1.Enable Automatic Configuration. 2. enter the Automatic proxy URL.).
Please see the following picture.
No comments:
Post a Comment