<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Em 20/07/2016 17:10, Antony Stone escreveu:<br>
    <blockquote
      cite="mid:201607202210.21824.Antony.Stone@squid.open.source.it"
      type="cite">
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">My router is a Mikrotik router board, so it's trivial to setup a DNAT rule
<span class="moz-txt-citetags">> </span>to redirect all TCP requests to the squid server.
</pre>
      </blockquote>
      <pre wrap="">That won't work.  You <b class="moz-txt-star"><span class="moz-txt-tag">*</span>must<span class="moz-txt-tag">*</span></b> perform the DNAT on the machine running Squid, 
which means that the packets from your clients must pass through the Squid 
server, either because it is in the default route, or because you use some 
form of policy routing (not NAT) to direct port 80 requests through it.</pre>
    </blockquote>
    <br>
    If that's the case I think it would be better if the document
    instructed to use REDIRECT --to-port instead DNAT as an implicit way
    to explain that.<br>
    <pre wrap="">
</pre>
  </body>
</html>