<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head runat="server">
    <!-- PageID 382 - published by RedDot 7.5 - 7.5.1.69 - 22111 -->
    <META name="PublicArticle" content="True" />
    <META http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <META name="keywords" />
    <META name="summary" />
    <META name="product" content="fp_web" />
    <META name="version" content="v85" />
    <META name="book" content="Content Gateway Manager Help, v8.5.x" />
    <title>Using WPAD</title>
    <!--Loading the 2016 fonts.-->
    <script type="text/javascript" src="//fast.fonts.net/jsapi/c504d579-e135-4f75-8335-4906f6c6ce67.js"></script>
    <!--Library content styles.-->
    <link rel="StyleSheet" href="https://help.forcepoint.com/docs/ni/assets/css/help2016.css" type="text/css" media="all" />
    <!--2016 font support -->
    <link type="text/css" rel="stylesheet" href="//fast.fonts.net/cssapi/c504d579-e135-4f75-8335-4906f6c6ce67.css" />
  </head>
  <body>
    <!--googleoff: all-->
    <a href="https://www.forcepoint.com">
      <img class="logo" alt="Forcepoint logo" src="https://help.forcepoint.com/docs/ni/assets/logo1.png" />
    </a>
    <div class="extLinksContainer">
      <a class="extLinks" href="//support.forcepoint.com/documentation">Documentation</a> | <a class="extLinks" href="//support.forcepoint.com">Support</a></div>
    <!--
		<wsApp:UserAccess ID="useraccess1" runat="server" IsSecure="False" />
		-->
    <div class="spacer1"></div>
    <br />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="xplctsam.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="conf_ftp_clients.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="wcg_help.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="explicit.aspx">Explicit Proxy</a> &gt; Using WPAD</div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <!--googleon: all-->
    <div>
      <div class="N1H-Heading1"><a name="615574">Using WPAD</a></div>
      <div class="IN-TopicInfo"><a name="626084">Help | Content Gateway | v8.5.x</a></div>
      <div class="B-Body"><a name="622950">WPAD allows Internet Explorer to automatically detect a server that can supply it with proxy server configuration settings. Clients do not have to configure their browsers to send requests to a proxy server: a single server provides the settings to all clients on the network. </a></div>
      <div class="F-Frame"><a name="622951">&nbsp;</a></div>
      <table class="NoteTable" style="text-align: left" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="NI-NoteIcon">
              <img src="note.gif" alt="*" border="0" width="33" height="33" /><a name="622960">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="N-Note">Note<a name="622962">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="622963">WPAD is incompatible with transparent proxy deployments.</a></div>
          </td>
        </tr>
      </table>
      <div class="B-Body"><a name="615577">When an Internet Explorer browser starts up, it searches for a WPAD server. It prepends the hostname WPAD to the current fully qualified domain name. For example, a client in </a><span class="B-Bold">x.y.company.com</span> searches for a WPAD server at <span class="B-Bold">wpad.x.y.company.com</span>. If unsuccessful, the browser removes the bottommost domain and tries again; for example, it tries <span class="B-Bold">wpad.y.company.com</span>. The browser stops searching when it detects a WPAD server or reaches the third-level domain, <span class="B-Bold">wpad.company.com</span>. The algorithm stops at the third level so that the browser does not search outside the current network.</div>
      <div class="F-Frame"><a name="615584">&nbsp;</a></div>
      <table class="NoteTable" style="text-align: left" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="NI-NoteIcon">
              <img src="note.gif" alt="*" border="0" width="33" height="33" /><a name="615580">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="N-Note">Note<a name="615582">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="615583">By default, Microsoft Internet Explorer are set to automatically detect WPAD servers. However, browser users can disable this setting.</a></div>
          </td>
        </tr>
      </table>
      <div class="B-Body"><a name="615970">To configure Content Gateway to be a WPAD server:</a></div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">1.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615980">If you have an existing </a><span class="B-Bold">wpad.dat</span> file, replace the <span class="B-Bold">wpad.dat</span> file located in the Content Gateway <span class="B-Bold">config</span> directory with your existing file.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">2.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="624247">Log on to the Content Gateway manager and go to </a><span class="B-Bold">Configure</span>&nbsp;&gt; <span class="B-Bold">Content Routing</span>&nbsp;&gt; <span class="B-Bold">Browser Auto-Config&nbsp;&gt; WPAD</span> to display the <span class="B-Bold">wpad.dat</span> file<span class="B-Bold">.</span></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">3.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615950">The WPAD Settings area displays the </a><span class="B-Bold">wpad.dat</span> file:</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B2-Bullet2_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B2-Bullet2_inner" style="width: 18pt; white-space: nowrap">
                <img src="b2.png" alt="*" border="0" width="8" height="7" />
              </div>
            </td>
            <td width="100%">
              <div class="B2-Bullet2_inner"><a name="615592">If you copied an existing </a><span class="B-Bold">wpad.dat</span> file into the Content Gateway <span class="B-Bold">config</span> directory, the file contains your proxy configuration settings. Check the settings and make changes if necessary.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B2-Bullet2_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B2-Bullet2_inner" style="width: 18pt; white-space: nowrap">
                <img src="b2.png" alt="*" border="0" width="8" height="7" />
              </div>
            </td>
            <td width="100%">
              <div class="B2-Bullet2_inner"><a name="615593">If you did not copy an existing </a><span class="B-Bold">wpad.dat</span> file into the Content Gateway <span class="B-Bold">config</span> 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 <span class="LEM-LinkEmphasis"><a href="xplctsam.aspx" title="Sample PAC file">Sample PAC file</a></span> (a <span class="B-Bold">wpad.dat</span> file can contain the same script as a <span class="B-Bold">proxy.pac</span> file).</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">4.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615597">Click </a><span class="B-Bold">Apply</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">5.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615601">Navigate to </a><span class="B-Bold">Configure</span>&nbsp;&gt; <span class="B-Bold">Networking&nbsp;&gt;</span> <span class="B-Bold">ARM</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">6.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615602">In the </a><span class="B-Bold">Redirection Rules</span> section, click <span class="B-Bold">Edit File</span> to add a special remap rule to the <span class="B-Bold">ipnat.conf</span> file.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">7.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615603">Enter information in the fields provided, and then click </a><span class="B-Bold">Add</span>:</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">a.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="615604">Enter the </a><span class="B-Bold">Ethernet Interface</span> that receives browser WPAD requests (for example hme0 or eth0).</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">b.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="615605">From the Connection Type drop-down list, select </a><span class="B-Bold">tcp</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">c.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="615606">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.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">d.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="629151">(</a><span class="EM-Emphasis">Optional</span>) In the Destination CIDR field, enter the CIDR mask value.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I2-IndentedText2"><a name="631663">If the Destination IP is in IPv4 format, enter 32. Enter 128 for an IPv6 Destination IP. </a></div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">e.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="615607">In the Destination Port field, enter </a><span class="B-Bold">80</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">f.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="615608">In the Redirected Destination IP field enter the same IP address you entered in the Destination IP field.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">g.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="615609">In the Redirected Destination Port field, enter </a><span class="B-Bold">8083</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="SA-StepAlpha_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="SA-StepAlpha_inner" style="width: 18pt; white-space: nowrap">h.	</div>
            </td>
            <td width="100%">
              <div class="SA-StepAlpha_inner"><a name="629448">(</a><span class="EM-Emphasis">Optional</span>) In the User Protocol field, select <span class="B-Bold">dns</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">8.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615610">Click </a><span class="B-Bold">Add</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">9.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="623740">Use the arrow keys on the left to move the new rule to the first line in the file. </a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">10.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="615611">Click </a><span class="B-Bold">Apply</span>, and then click <span class="B-Bold">Close</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">11.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="632223">Go to the </a><span class="B-Bold">Configure&nbsp;&gt; My Proxy&nbsp;&gt; Basic&nbsp;&gt; General</span> tab and click <span class="B-Bold">Restart</span>.</div>
            </td>
          </tr>
        </table>
      </div>
    </div>
    <!--googleoff: all-->
    <div class="library_search">
      <form class="support_search" action="/content/kb-search.aspx" method="get">
        <label></label>
        <label></label>
        <input type="text" name="q" value=" Search eSupport" onfocus="if (this.value == ' Search eSupport') {this.value = '';}" onblur="if (this.value == '') {this.value = ' Search eSupport';}"></input>
        <input type="submit" value=" "></input>
      </form>
    </div>
    <br class="clear" />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="xplctsam.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="conf_ftp_clients.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="wcg_help.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="explicit.aspx">Explicit Proxy</a> &gt; Using WPAD</div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <div class="extFooterContainer">
      <div class="extFooter">
        <div align="center">Copyright 2023 Forcepoint. All rights reserved.</div>
      </div>
    </div>
    <SCRIPT>
   function getFileName() {
      //this gets the full url
      var url = document.location.href;
      //this removes the anchor at the end, if there is one
      url = url.substring(0, (url.indexOf("#") == -1) ? url.length : url.indexOf("#"));
      //this removes the query after the file name, if there is one
      url = url.substring(0, (url.indexOf("?") == -1) ? url.length : url.indexOf("?"));
      //this removes everything before the last slash in the path
      url = url.substring(url.lastIndexOf("/") + 1, url.length);
      //return
      return url;
   }

   var url = document.URL;
   var Docname = getFileName()
   s.pageName = "enu:support:technical library:v85xwcg_help:" + Docname;
   s.prop1 = "enu:support";
   s.prop2 = "enu:support:technical library";
   s.channel = "support";
   // <!--
   s.server = "<%= System.Environment.MachineName %>";
   //--></SCRIPT>
    <script language="javascript1.1" type="text/javascript">
   /********Do Not alter below this line ***********/
   var s_code = s.t(); if (s_code) document.write(s_code)
   //--&gt;</script>
  </body>
  <!--"GENERALQUARTERSALLHANDSMANYOURSTATIONS"-->
</html>