On this page
Quick And Dirty Wpad.dat On Ipcop Box
wpad is short for Web Proxy Autodiscovery Protocol. It's used to tell your browser what proxy it can use without having to go to each and every pc on your network to do so.
This is a quick and dirty howto. It was tested and worked out ok on my system. But I don't guarantee it won't break yours.
These are the 5 easy steps:
1. Enter yourdomainname.com in Ipcop's DHCP service.
2a. Create a DNS record to point wpad.yourdomainname.com to your Ipcop ip. or,
2b. Edit /etc/hosts and put wpad 192.168.1.1 into a new line. Replace 192.168.1.1 with your Ipcop's ip.
Test it by pinging wpad and see if it resolves to your ipcop's ip.
3. Create the wpad.dat file in /home/httpd/html/.
4. Add Listen 80 to a new line in /etc/httpd/conf/httpd.conf.
5. Restart apache:
kill -HUP 1234
Replace 1234 with your /var/run/httpd.pid.
Test it by opening http://wpad/wpad.dat in your browser.
That's it! Your browser now can automatically detect your proxy setting.