Need help on configuring dhcp with webproxy!
-
hi all
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
number: 252
type: string
value: "http://192.168.2.13/wpad.dat"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 2011and 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)
Your-IP 192.168.0.7
Client-Ethernet-Address 00:26:****
Vendor-rfc1048 Extensions
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.1Although 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?