Quick And Dirty Wpad.dat On Ipcop Box

Want to support HowtoForge? Become a subscriber!
Submitted by dennyhalim (Contact Author) (Forums) on Wed, 2006-10-04 06:18. :: Other

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 into a new line. Replace 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.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.