[Chilli] Coovachilli and Squid Transparent on the same host

Germano Paciocco germano.paciocco at gmail.com
Wed May 16 19:03:40 UTC 2012


Venkatesh. K said:

> You don't need to setup any iptables rules. As long as you have configured
> Squid as transparent proxy and setup proxy/port in Coova Chilli config, it
> will work. The proxy can exist in same server.

Great! But I tried and it didn't work.
I setup separately Coova (smooth setup, working good) and Squid Transparent
(like this: http://www.lesismore.co.za/squid3.html), and both works fine.
So I launched Coova, with HS_POSTAUTHPROXY=127.0.0.1 and
HS_POSTAUTHPROXYPORT=3128: authentication works, but it seems that packets
does not pass through Squid... (if I sniff I can see packets to 127.0.0.1:3128,
but Squid access.log remains empty, and no site is opened...)
I tried both with and without squid redirect rule
(iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128,
I tried also with iptables -t nat -A PREROUTING -i tun0 -p tcp --dport
80 -j REDIRECT --to-port 3128)
but I had no success.
What do you suggest?
Thank you.

--
GP


More information about the Chilli mailing list