01.01.2013 Views

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3<br />

Proxies and caching<br />

Providing proxy auto-configuration files<br />

Providing proxy auto-configuration files<br />

You can provide one or more proxy auto-configuration (PAC) files on the appliance. <strong>Web</strong> browsers on<br />

the clients can use them to find proxies that enable them to access particular web pages. This section<br />

tells you how to make these files available to the client browsers.<br />

A proxy auto-configuration file usually has .pac as its file name extension. There can be several of them<br />

on the appliance, for example, a proxy.pac and a webgateway.pac.<br />

When a proxy auto-configuration file follows the WPAD (<strong>Web</strong> Proxy Auto-Discovery) protocol, it must<br />

have wpad.dat as its file name. Therefore, it can exist on the appliance only once.<br />

Make a .pac file available<br />

To make a .pac file available to a browser on a client:<br />

1 Store the .pac file in the /opt/mwg/files folder on your appliance.<br />

2 Start the browser and go to the network configuration settings. For example, on a Mozilla Firefox<br />

browser, version 3.6, you can find these settings under Edit | Preferences | Advanced | Network.<br />

3 In the Connection section, click Settings.<br />

4 Select Automatic proxy configuration URL, then enter the path and file name for the .pac file, for<br />

example, http://mwgappl.webwasher.com:4711/files/proxy.pac.<br />

Note: If you want the clients to use a dedicated port for downloading the file, you must first configure this<br />

port. If no dedicated port is used, clients are directed to the HTTP port for the user interface (default:<br />

4711, as specified above).<br />

5 Click OK.<br />

For more information on configuring a dedicated download port, see File Server system settings.<br />

Make a wpad.dat file available<br />

When a wpad.dat file is made available to a browser on a client, the browser uses auto-detection to find<br />

the host where it is stored. A port forwarding rule enables the browser to go to the appropriate port on<br />

this host to download the file.<br />

Before you configure this feature, make sure of the following:<br />

• The wpad.dat file is stored in the /opt/mwg/files folder on your appliance.<br />

• The following has been entered as a DNS host or alias name for the appliance: wpad., for example, wpad.domain.com or wpad.subdomain.domain.com.<br />

• [Conditional] If you want the clients to use a dedicated port for downloading the file, you must first<br />

configure this port. If no dedicated port is used, clients are directed to the HTTP port for the user<br />

interface (default: 4711).<br />

For more information on configuring a dedicated download port, see File Server system settings.<br />

70 <strong>McAfee</strong> <strong>Web</strong> <strong>Gateway</strong> <strong>7.1.5</strong> <strong>Product</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!