<div dir="ltr">Bruno,<div><br></div><div>> <span style="font-size:12.8px">No, no, Amos was just explaining the use of DNAT in this case; REDIRECT won't work either.</span></div><span style="font-size:12.8px">> You should do as intructed by Antony and try policy routing.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">That's what I'm planing; Policy routing at Mikrotik, so the packets arrive at the squid machine. At squid machine, redirect from port 80 to whatever port squid is on (intercept). That's exactly what the REDIRECT link says to do. The main difference from DNAT is not enabling ip-forward in the squid box, which is exactly what I want to avoid.<br></span><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-21 9:07 GMT-03:00 Bruno de Paula Larini <span dir="ltr"><<a href="mailto:bruno.larini@riosoft.com.br" target="_blank">bruno.larini@riosoft.com.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
Em 21/07/2016 08:55, Guilherme Scaglia escreveu:<br>
<blockquote type="cite">
<div dir="ltr">Amos,
<div><br>
</div>
<div>> <span style="font-size:12.8px">There is a different
config example for REDIRECT </span><span style="font-size:12.8px"><</span><a href="http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect" rel="noreferrer" style="font-size:12.8px" target="_blank">http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect</a><span style="font-size:12.8px">></span></div>
<div><br>
</div>
<div>Ty, I'm going to try it using REDIRECT. I was unwilling to
follow the DNAT guide because of having to enable
ip-forwarding in a non-router machine. The REDIRECT version
seems cleaner and is similar to what I'</div>
<br>
</div>
</blockquote></span>
No, no, Amos was just explaining the use of DNAT in this case;
REDIRECT won't work either.<br>
You should do as intructed by Antony and try policy routing.<br>
</div>
<br>_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br></blockquote></div><br></div>