Dhcp advanced options

,

NethServer Version: NethServer release 7.6.1810 (final)

Hi, I can’t understand if the dhcp server has additional parameters to send clients the directives for using a proxy. I know there are added parameters
An example :
number: 252 type: number: 252 type: string value: “http://192.168.1.1/wpad.dat
Thank you

I created an additional custom template:

cat /etc/e-smith/templates-custom/etc/dnsmasq.conf/90config

#
# 90options - Eddie
#
# Tell Micro$haft to "Shut the F up"
dhcp-option=252,"\n"

Cheers.

Hi

Any specific need to use DHCP for this?

I do use the Proxy quite intensively for my clients, but it’s quite sufficient to use the DNS entries for wpad and proxy, eg:
proxy.your-domain.com
wpad.your-domain.com

Most clients are satisfied with those infos…

My 2 cents
Andy

Hi and thanks for your immediate reply. So just enter the proxy in quotes including space and n? Then what signal command should I give to the server? The proxy I have to use is on a 2.4 firewall pfsense

@france

You’d have to edit the WPAD file ( /var/www/html/wpad.dat ) with a usable editor (Not Notepad or Word on Windows!).

Make two DNS entry for both (On Nethserver, if that is your internal DNS) for

See Wikipedia or use Google to get some ideas what you can do in a WPAD file, and test your options!

You can redirect your clients to use the Proxy on your Firewall (PFsense).

My 2 cents
Andy