Need help on configuring dhcp with webproxy!
i'm quite new to this pfsense and need to know how to give dhcp with a proxy pointing to a wpad.dat of another box.
i've tried to add in the "Additional BOOTP/DHCP Options" with
but it didn't work.
am i doing it wrong or is there another way to do this thing?
need your help, please…..
thank you in advance. have a nice day.
I just tried this on:
2.0-BETA5 (i386) built on Thu Jan 13 20:30:46 EST 2011
and it doesn't seems to be sending the extra options defined:
192.168.0.1.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length 300, xid 0x295fdbd5, secs 1280, Flags [Broadcast] (0x8000)
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 192.168.0.1
Lease-Time Option 51, length 4: 1800
Subnet-Mask Option 1, length 4: 255.255.255.0
Domain-Name Option 15, length 20: "******"
Default-Gateway Option 3, length 4: 192.168.0.1
Domain-Name-Server Option 6, length 4: 192.168.0.1
Although it's in /var/dhcpd/etc/dhcpd.conf:
option custom-lan-0 code 252 = string;
option custom-lan-0 "http://192.168.2.13:80/wpad.dat";
And i restarted dhcpd after config change.
I don't think this option was available in 1.* branch, has been a long time since i've used it though... So maybe this should be moved to the 2.0 board?
... it should be in the OFFER, right? Or is it only sent when requesting extra options in an INFORM?