<div dir="ltr">Thank you Amos and Rafael,<div><br></div><div>Using the LinuxDnat approach worked great as well.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 30, 2023 at 5:18 AM Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 30/09/23 11:06, Fernando Giorgetti wrote:<br>
> If someone has already done that, with the client running in a different <br>
> machine, I would love to know how.<br>
<br>
<br>
There are several ways;<br>
<br>
1) run Squid on the gateway router for your network, or<br>
<br>
2) place Squid in a DMZ between the LAN gateway and WAN gateway.<br>
<br>
3) setup a custom route+gateway for port 80 and 443 LAN traffic as the <br>
Squid machine. Excluding traffic from that machine itself.<br>
<br>
<br>
> <br>
> In case Squid runs on the same machine used as a network gateway to the <br>
> client machine, I suppose the config would be similar, but if it's not <br>
> running on the same machine used as the gateway, then it would be nice <br>
> to see how.<br>
> <br>
<br>
That would be (1). See <br>
<<a href="https://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat" rel="noreferrer" target="_blank">https://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat</a>> for <br>
how to configure the gateway router running Squid.<br>
<br>
The configuration difference between the at-source (aka, on client <br>
machine) you are/were using is just some iptables rules.<br>
<br>
<br>
HTH<br>
Amos<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>