Re: [squid-users] wccp working config example

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 11 Sep 2008 02:25:34 +1200

Nuno Silva wrote:
> Amos.
>
> Thank you very much, it started working, i was missing the 'iptables -t
> nat -A POSTROUTING -j MASQUERADE'... what is the purpose of that?

Normally to NAT traffic coming in you have to NAT the responses back to
the right places, but it gets tricky very quickly so someone created
MASQUERADE to unwind all NAT bindings automatically on response packets.

I'm not sure about speed, but its easy to configure.

>
> And regarding the output of iptables -t filter -L *:
>
> iptables: No chain/target/match by that name
>
> Should the output be other?

Weird, I'd expect a list same as for the -t nat you gave earlier, but
never mind. I thought maybe there was a forwarding rule or policy
blocking things. Since MASQUERADE fixed it, we don't need to look any
further.

>
> Best regards and many many many many many many many thanks!
> Nuno Silva
>

Welcome.

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE8
Received on Wed Sep 10 2008 - 14:26:15 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 11 2008 - 12:00:05 MDT