Re: [squid-users] TPROXY - possible in such network setup (hanging connections)?

From: Tomasz Chmielewski <mangoo_at_wpkg.org>
Date: Tue, 02 Nov 2010 00:34:18 +0100

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
Received on Mon Nov 01 2010 - 23:34:16 MDT

This archive was generated by hypermail 2.2.0 : Tue Nov 02 2010 - 12:00:02 MDT