Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to distribute "Proxy Settings" automatically to clients. (Proxy Server is on Ubuntu Linux-based )

Posted on 2009-04-29
Medium Priority
Last Modified: 2013-12-16
We are running following servers:

(1) DHCP Server on a Windows 2003 Server. (

(2) Squid Proxy and Bind DNS and Fireall on Ubuntu Linux Server. (

Now, I want to configure my Linux Server so that client browers can detect Proxy Server automatically. Because we have arround 400 Client PCs and configuring them manually is a lenghty and cumborsome job.

Previously, we were using ISA 2006 as proxy and I had made WPAD entry in Windows-based DHCP to distribute proxy address: http://isaserver:8080/wpad.dat, and it was working well.

But now, I have removed ISA and using Linux-based Proxy and I don't know"

1. How and where to make wpad.dat file ?

2. Will I need to configure Apache so that clients get wpad.dat file using "http://myapacheserver:3128/wpad.dat ? (Proxy Server is listening on by default 3128 port number)

Please note that everything is running well. I just want to know how can I distribute the "proxy settings" automatically.

Question by:JatinHemant
LVL 17

Accepted Solution

owensleftfoot earned 500 total points
ID: 24261341
Have a look at http://tldp.org/HOWTO/TransparentProxy.html
If you do it this way you wont have to send any proxy settings at all.
LVL 10

Assisted Solution

lanboyo earned 500 total points
ID: 24265747
Without any DHCP options,  and the " automatically detect proxy settings" checked in your browser, the browser will look for a server named wpad in the doamin suffix search order and attempt to download a file from the it on port 80 named, yes, wpad.dat.

I would run another instance of apache on port 80 on either the same server or another server that will serve the wpad.dat file. Put a dns entry for wpad.yourinternaldomain.com. You can look up how to craft the wpad file by looking at netscape's java pac file syntax, as nobody is autogenerating the file like ISA used to.

Or do transparent proxy, you have options.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question