• No results found

Web Proxy Auto Discovery (WPAD) Configuration Guide. Revision Warning and Disclaimer

N/A
N/A
Protected

Academic year: 2021

Share "Web Proxy Auto Discovery (WPAD) Configuration Guide. Revision Warning and Disclaimer"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

Web Proxy Auto Discovery (WPAD)

Configuration Guide

Revision 1.0.1

Warning and Disclaimer

This document is designed to provide information about the configuration and installation of

the CensorNet Professional (CNPRO). Every effort has been made to make this document

as complete and accurate as possible, but no warranty or fitness is implied.

CensorNet Ltd does not accept any liability for poorly designed or malfunctioning networks.

(2)

Table of Contents

Table of Contents ...2

Introduction ...3

Requirements...3

Creating, Configuring and Deploying WPAD...4

Creating the wpad.dat file ...4

Configuring Apache ...5

Deploying WPAD to Client Machines ...6

By DHCP...6

By DNS...6

Configuring Web Browsers on Client Machines ...7

Internet Explorer 5 and above ...7

Firefox 2 and above ...7

(3)

3 / 8

Introduction

The Web Proxy Autodiscovery Protocol (WPAD) is a method used by clients to locate a proxy auto-configuration file and use this to configure the Web browser proxy settings automatically.

WPAD is an alternative to using Active Directory Group Policies to force Web browser proxy settings and should be used when the client machines are mobile (e.g. a laptop) and the proxy settings should only be set when the client machine is joined to the network where CensorNet resides.

Requirements

• Root access to the CensorNet server, either using PuTTY or console. • Windows 2003 server.

(4)

Creating, Configuring and Deploying WPAD

Creating the wpad.dat file

1. Login as rootrootrootroot on the CensorNet server using SSH or at the command line console (keyboard connected to CensorNet server).

2. Change to the Web root directory by typing cd /var/www/cd /var/www/cd /var/www/ cd /var/www/ 3. Create a new file, called wpad.datwpad.datwpad.datwpad.dat by typing: nano wpad.datnano wpad.datnano wpad.datnano wpad.dat

4. Copy the following exactly, replacing 192.168.0.1192.168.0.1192.168.0.1192.168.0.1 with the IP address of your CensorNet server.

function FindProxyForURL(url, host) {

return "PROXY 192.168.0.1:8080; DIRECT"; }

5. Hold down Ctrl Ctrl Ctrl and press OCtrl O O and then press Enter O EnterEnter to save the file. Enter 6. Hold down CtrlCtrlCtrl and press XCtrl XX to exit the editor. X

(5)

5 / 8

Configuring Apache

The next step is to reconfigure the Apache Web server so that it knows how to handle the WPAD file.

1. Type: nano /etc/apache/httpd.confnano /etc/apache/httpd.confnano /etc/apache/httpd.conf nano /etc/apache/httpd.conf

2. Hold down CtrlCtrlCtrl and press WCtrl WW to start a search. Type “AddType” and press enter. W This will move you to the part of the configuration that handles MIME types. 3. On a new line, add the following:-

AddType application/x-ns-proxy-autoconfig .dat

4. Your configuration file should now look similar the screenshot below:-

5. Hold down Ctrl Ctrl Ctrl and press OCtrl O O and then press Enter O EnterEnter to save the file. Enter 6. Hold down CtrlCtrlCtrl and press XCtrl XX to exit the editor. X

(6)

Deploying WPAD to Client Machines

There are two methods to deploy the WPAD file to client machines. You can use either one method or both, depending on your network configuration.

Please note these instruct Please note these instruct Please note these instruct

Please note these instructions apply to Windows 2003 Server.ions apply to Windows 2003 Server.ions apply to Windows 2003 Server. ions apply to Windows 2003 Server.

By DHCP

1. Click Start Start Start Start ----> Programs > Programs > Programs ----> Administrator Tools > Programs > Administrator Tools > Administrator Tools > Administrator Tools and then click DHCPDHCPDHCPDHCP.

2. In the console tree, right click on the DHCP server, click Set Predefined OptionsSet Predefined OptionsSet Predefined OptionsSet Predefined Options and then click AddAddAdd. Add

3. In the Name field, type: WPADWPADWPAD WPAD 4. In the Code field, type: 252252252 252

5. In the Data Type field select StringStringStringString and then click OKOKOKOK.

6. In the String Field, type the URL of the PAC file: http://192.168.0.1http://192.168.0.1http://192.168.0.1http://192.168.0.1:80:80:80:80/wpad.dat/wpad.dat/wpad.dat/wpad.dat replacing 192.168.0.1 with the IP address of your CensorNet server.

7. Right-click Server OptionsServer OptionsServer OptionsServer Options and click ConfigureConfigureConfigure OptionsConfigureOptionsOptionsOptions. 8. Confirm that the Option 252Option 252Option 252Option 252 option is selected.

You must now enable the option for a DHCP scope.

1. Click Start Start Start Start ----> Programs > Programs > Programs ----> Administrator Tools > Programs > Administrator Tools > Administrator Tools > Administrator Tools and then click DHCPDHCPDHCPDHCP. 2. Right-click Scope OptionsScope OptionsScope OptionsScope Options and then click Configure OptionsConfigure OptionsConfigure OptionsConfigure Options.

3. Click AdvAdvAdvAdvancedancedancedanced, and then in Vendor ClassVendor ClassVendor ClassVendor Class click Standard OptionsStandard OptionsStandard OptionsStandard Options.

4. In Available OptionsAvailable OptionsAvailable OptionsAvailable Options select the 252 Proxy Autodiscovery252 Proxy Autodiscovery252 Proxy Autodiscovery option and click OK252 Proxy Autodiscovery OKOKOK.

By DNS

1. Click Start Start Start Start ----> Programs > Programs > Programs ----> Administrator Tools > Programs > Administrator Tools > Administrator Tools > Administrator Tools and then click DNS.DNS.DNS.DNS.

2. In the console tree, right-click on the applicable Forward Lookup ZoneForward Lookup ZoneForward Lookup Zone and click Forward Lookup Zone New Host (A)

New Host (A) New Host (A) New Host (A) .

3. In the Name field, type: wpadwpadwpad wpad

(7)

7 / 8

Configuring Web Browsers on Client Machines

Internet Explorer 5 and above

1. On the ToolsToolsToolsTools menu, click InterInterInterInternet Optionsnet Optionsnet Options. net Options 2. Click the ConnectionsConnectionsConnections tab. Connections

3. Click LAN SettingsLAN SettingsLAN SettingsLAN Settings.

4. Click to select the Automatically detect settingsAutomatically detect settingsAutomatically detect settingsAutomatically detect settings check box, and then click OKOKOKOK two times.

Internet Explorer screenshot

Firefox 2 and above

1. On the ToolsToolsToolsTools menu, click OptionsOptionsOptionsOptions. 2. Click the AdvancedAdvancedAdvancedAdvanced tab.

3. Click the NetworkNetworkNetworkNetwork tab. 4. Click the SettingsSettingsSettingsSettings button.

(8)

Technical Support

If you require help installing, configuring or activating CensorNet Professional please contact our Technical Support department in the following ways.

Live Support Live Support Live Support

Live Support http://www.censornet.com/support

Telephone Telephone Telephone

Telephone 0845 230 9592 (9am-5:30pm Mon-Fri GMT) E

E E

References

Related documents

If you configure the LAN Settings, then after you click the Settings window will pop up a local area network (LAN) in which the box labeled as a proxy server to check the Use a

To play back video using a proxy server, click Configuration > Client Settings > Proxy Settings, or launch the login window to configure proxy settings. Place a check by

After the host machine is ready for remote access, right-click the PocketCloud WIndows Companion icon and select Auto Discovery Settings to open the Wyse PocketCloud Auto

¤ Enter the auto configuration code and start auto configuration as described in the following section " Starting auto configuration, updating VoIP settings "..

For web client uses wpad can edit this become a member experience for automatic discovery technologies and often enabled in networks, auto discovery enables businesses fight

Thus, the dashboard is a computerized system that allow monitoring of the providing military service organizations economic performance, through the transformation of the

Once you finish configuring the network settings, upload file settings, auto launch list settings, and time synchronization settings, the deployment will begin immediately. Or, you

If you want to use a Linux Proxy instead of the Primary Server to perform the discovery tasks on Linux devices, click the Linux Proxy option and configure the settings in the