To configure Content Gateway to be a WPAD server

Steps

  1. If you have an existing wpad.dat file, replace the wpad.dat file located in the Content Gateway config directory with your existing file.
  2. Log on to the Content Gateway manager and go to Configure > Content Routing > Browser Auto-Config > WPAD to display the wpad.dat file.
  3. 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).
  4. Click Apply.
  5. Navigate to Configure > Networking > ARM.
  6. In the Redirection Rules section, click Edit File to add a special remap rule to the ipnat.conf file.
  7. Enter information in the fields provided, and then click Add:
    1. Enter the Ethernet Interface that receives browser WPAD requests (for example hme0 or eth0).
    2. From the Connection Type drop-down list, select tcp.
    3. 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.
    4. (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.

    5. In the Destination Port field, enter 80.
    6. In the Redirected Destination IP field enter the same IP address you entered in the Destination IP field.
    7. In the Redirected Destination Port field, enter 8083.
    8. (Optional) In the User Protocol field, select dns.
  8. Click Add.
  9. Use the arrow keys on the left to move the new rule to the first line in the file.
  10. Click Apply, and then click Close.
  11. Go to the Configure > My Proxy > Basic > General tab and click Restart.