[squid-users] Tproxy time

From: User User <netwotkstudent_at_yahoo.com>
Date: Sat, 20 Aug 2011 08:15:37 -0700 (PDT)

I have a linux box which I installed Squid. I used steps from wiki links (http://wiki.squid-cache.org/Features/Tproxy4) to compile kernel , iptables ,...
The box working normal on 3128 when I set manual proxy on client , but for tproxy tranparnet mode I am getting timeout on client after some minutes.
I am routing traffic from client to this box and try to catch the but iptables (tproxy).I am seeing requests on access log too.

http_port 3128
http_port 3129 tproxy

ip rule add fwmark 1 lookup 100
ip -f inet route add local dev eth0 table 100
iptables -t mangle -N DIVERT
iptables -t mangle -A DIVERT -j MARK --set-mark 1
iptables -t mangle -A DIVERT -j ACCEPT
iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY --tproxy-mark 0x1/0x1 --on-port 3129

thanks for your help.
Received on Sat Aug 20 2011 - 15:15:44 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 20 2011 - 12:00:02 MDT