I have a small workgroup of about 10 computers, (9 windows workstations, 1 Linux box). The linux box works as squid proxy,web server and file/print server.
Right now we have all the proxy settings in the PC's and it all works great. We are expecting to get about 6 laptops for some of our employees. They will need to use the proxy server when in the office, but not when they are out of the office.
Since they will all be hard coded the browser settings will have to be changes everytime they leave the office. I wanted to use a proxy.pac/wpad.dat file for this.
I created the following proxy.pac file and also make a symbolic link wpad.dat > proxy.pac in the root directory of our webserver:
function FindProxyForURL(url, host)
if (isInNet(myIpAddress(), "10.0.0.0", "255.255.255.0"))
return "PROXY 10.0.0.2:8080";
I also added a DNS A record wpad.ourdomain.com pointing to 10.0.0.2.
but it doesnt seem to be working. Is this because we do not have a domain so the browser doesnt know where to look for the proxy.pac file?
Any help would be appreciated.