Search This Blog

Wednesday 28 December 2011

How to Easily Setup Wpad.Dat in Ipcop


Setting up things can be hard to do. This article will show you how to do it!

Steps


  1. Enter yourdomainname.com in ipcop's dhcp service.

  2. Create dns record to point wpad.yourdomainname.com to your ipcop ip. or,

  3. Edit /etc/hosts and put 'wpad 192.168.1.1' into a new line. replace 192.168.1.1 with your ipcop's ip.

  4. Test it by ping wpad and see if it resolve to your ipcop's ip.

  5. Create the wpad.dat file in /home/httpd/html/

  6. Add 'Listen 80' to a new line in /etc/httpd/conf/httpd.conf

  7. Restart apache: 'kill -HUP 1234' replace 1234 with your /var/run/httpd.pid

  8. Test it by opening http://wpad/wpad.dat in your browser.


Tips

  • If you have blockouttraffic, you need to allow access to your ipcop port 80


Note:

  • It was tested and works on one system, but is not guaranteed to not break yours.