Im trying to use DHCP option 252 to push out a PAC file to clients
giving the details of a Squid web proxy.
I know this doesnt work on all platforms but at the very least it should
work with IE & Chrome on Windows and I cant even get it to work with that.
If I manually enter the address of the PAC file in the proxy settings it
downloads it and uses it, but trying to do it automatically (with
Windows set to automatically detect proxy settings) just isnt working. I
can't use the DNS method as we use .local domains internally and Chrome
will not pass these to the DNS resolver it insists on running a Google
search.
This is with ISC DHCPD on Wheezy is my syntax correct? Many thanks.
Heres the dhcpd.conf:
default-lease-time 7200; #2 hours
max-lease-time 7200;
option web-proxy code 252 = text;
#Subnet 192.168.1.0 - 192.168.15.0 our private network
subnet 192.168.0.0 netmask 255.255.240.0{
option subnet-mask 255.255.240.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
range 192.168.2.1 192.168.2.254;
range 192.168.4.1 192.168.4.254;
range 192.168.6.1 192.168.6.254;
range 192.168.8.1 192.168.8.254;
range 192.168.10.1 192.168.10.254;
range 192.168.12.1 192.168.12.254;
range 192.168.14.1 192.168.14.254;
option domain-name-servers 192.168.1.254;
option web-proxy "http://192.168.1.254/pacvl1.pac\000";
option ntp-servers 192.168.1.200;
}
#Subnet 192.168.100.0 the public (wifi) network
subnet 192.168.100.0 netmask 255.255.255.0{
option subnet-mask 255.255.255.0;
option routers 192.168.100.254;
range 192.168.100.1 192.168.100.253;
option domain-name-servers 192.168.100.254;
option web-proxy "http://192.168.100.254/pacvl2.pac\000";
}
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52262217.5060...@perpetualmotion.co.uk