Re: [squid-users] help with squid setup

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 27 May 2011 00:38:39 +1200

On 26/05/11 23:41, Camilo Cadena wrote:
> hi,
>
>
> the iptables configuration i'm using:
>
>
<snip>
> iptables-t nat-P PREROUTING ACCEPT
> iptables-t nat-P POSTROUTING ACCEPT
>
> iptables-t nat-A POSTROUTING-s 192.168.1.0/24 -o eth0-j MASQUERADE
>
<snip>

You have nothing involving NAT interception for the proxy in there.

Do the iptables and sysctl parts of this and it will start to use your
Squid:
   http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat

If you have new enough versions of Squid and OS you may be interested in
http://wiki.squid-cache.org/Features/Tproxy4 which can handle IPv6
interception for all those modern devices.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Thu May 26 2011 - 12:38:45 MDT

This archive was generated by hypermail 2.2.0 : Thu May 26 2011 - 12:00:03 MDT