Creating a WPAD entry in DHCP1

Updated: February 1, 2011

Applies To: Forefront Threat Management Gateway (TMG)

The following procedure describes how to configure a WPAD entry on the DHCP server, on the domain controller of the network from which automatic discovery requests from clients will be received (usually the default Internal network) .

To create an option 252 entry in DHCP

  1. Click Start, point to All Programs, point to Administrative Tools, and then click DHCP.

  2. In the console tree, right-click the applicable DHCP server, click Set Predefined Options, and then click Add.

  3. In Name, type WPAD.

  4. In Code, type 252.

  5. In Data type, select String, and then click OK.

  6. In String, type https://Computer_Name:Port/wpad.dat where Port is the port number on which automatic discovery information is published. You can specify any port number. By default, Forefront TMG publishes automatic discovery information on port 8080. Ensure that you use lowercase letters when typing wpad.dat. Forefront TMG uses wpad.dat and is case sensitive.

  7. Right-click Server options, and then click Configure options. Confirm that Option 252 is selected.

You do not need to create anything specifically for Wspad.dat. Wspad.dat uses the same 252 option as wpad.dat and modifies the wpad.dat name to Wspad.dat, as required.

Concepts

Configuring automatic detection
Planning automatic Web proxy detection