configure squid so that clients auto-detect proxy settings
configure squid so that clients auto-detect proxy settings
My system runs dhcp and squid proxy. What do I need to do so that clients can auto detect proxy settings?
Re: configure squid so that clients auto-detect proxy settin
It's been a while since I monkeyed with this stuff but I think this is what you want in your dhcpd.conf file:karunakar wrote:My system runs dhcp and squid proxy. What do I need to do so that clients can auto detect proxy settings?
Code: Select all
option wpad code 252 = text;
option wpad "http://192.168.nn.1/wpad.dat";
Code: Select all
/var/www/html # cat wpad.dat
function FindProxyForURL(url, host) {
return "PROXY proxy.example.com:8080; DIRECT";
}