To configure Content Gateway to be a WPAD server
Steps
- If you have an existing wpad.dat file, replace the wpad.dat file located in the Content Gateway config directory with your existing file.
- Log on to the Content Gateway manager and go to Configure > Content Routing > Browser Auto-Config > WPAD to display the wpad.dat file.
-
The WPAD Settings area displays the wpad.dat file:
- If you copied an existing wpad.dat file into the Content Gateway config directory, the file contains your proxy configuration settings. Check the settings and make changes if necessary.
- If you did not copy an existing wpad.dat file into the Content Gateway config directory (/opt/WCG/config), the WPAD Settings area is empty. Enter a script that will provide the proxy server configuration settings. A sample script is provided in Sample PAC file (a wpad.dat file can contain the same script as a proxy.pac file).
- Click Apply.
- Navigate to Configure > Networking > ARM.
- In the Redirection Rules section, click Edit File to add a special remap rule to the ipnat.conf file.
-
Enter information in the fields provided, and then click Add:
- Enter the Ethernet Interface that receives browser WPAD requests (for example hme0 or eth0).
- From the Connection Type drop-down list, select tcp.
- In the Destination IP field, enter the IP address of the Content Gateway server that will be resolved to the WPAD server name by the local name servers.
- (Optional) In the Destination CIDR field, enter the CIDR mask value.
If the Destination IP is in IPv4 format, enter 32. Enter 128 for an IPv6 Destination IP.
- In the Destination Port field, enter 80.
- In the Redirected Destination IP field enter the same IP address you entered in the Destination IP field.
- In the Redirected Destination Port field, enter 8083.
- (Optional) In the User Protocol field, select dns.
- Click Add.
- Use the arrow keys on the left to move the new rule to the first line in the file.
- Click Apply, and then click Close.
- Go to the Configure > My Proxy > Basic > General tab and click Restart.