Dnsmasq is capable of WPAD. Just add this line in /etc/config/dhcp.conf under config dhcp lan section
list dhcp_option '252,http://192.168.10.1:8000/proxy.pac'
the HTTP URL should be replaced adequately. There should be no spaces between the comma and URL. You can convert GFWlist to a PAC file with gfwlist2pac.
A note for iPad users:
iPad do not enable WPAD by default (because WPAD can redirect a client's HTTP connection without informing the user). The user can enable it in the configuration for wireless access points.
"Be able to bypass the Great Fire Wall of China automatically" - Mama I'm A Criminal;)
ReplyDeleteVery brief and easy-to-follow method, thanks!
ReplyDelete