On 01.11.2010 23:55, Tomasz Chmielewski wrote:
I'm trying to configure Squid to work in tproxy mode (IPv4, when it works, IPv6), but my connections are hanging and I'm not sure how to debug this. Perhaps my network setup won't just work with tproxy? My network setup looks like below: internet gateway - squid - client Internet gateway, squid, client - all have public IPv4 addresses.
(...)
If I press ctrl+c on the client, Squid logs the page I tried to access: 1288651691.229 29850 client_ip TCP_MISS/000 0 GET http://example.com/ - DIRECT/1.2.3.4 - What is wrong in my setup? It works when I use NAT, but I'd like to use IPv6 too, so I have to use TPROXY.
I figured this entry on the gateway helps: route add -host <client_IP> gw <squid_IP> -- Tomasz Chmielewski http://wpkg.org