i use same with u ... no problem until now use firewall dst nat at mikrotik to ip + port squid than make redirect iptables at squid if you still got problem you can chatt with me : id theweihong2002 ( www.usahajaya.net ) thanks Michel Peterson-3 wrote: > > > > Hi Guys, > > I am trying to configure a proxy squid with tproxy > support. My squid is in a machine in bridge. The structure of my network > is below: > > Clients -> Squid Bridge (Tproxy) -> Mikrotik > Router > > I've compiled my kernel (2.6.24) and iptables(1.4) with > Tproxy support. I'm using Squid Version 3.HEAD-20080917. > > My > routing and iptables rules: > > ip rule add fwmark 1 lookup 100 > Local > ip route add 0.0.0.0 / 0 dev lo table 100 > ip rule add > fwmark 1 lookup 100 > ip route add local 0.0.0.0/0 dev lo table 100 > iptables -t mangle -N DIVERT > iptables -t mangle -A PREROUTING -p > tcp -m socket -j 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 --dport 80 -j TPROXY --tproxy-mark > 0x1/0x1 --on-ip 189.89.180.253 --on-port 3128 > > > I see > packages into the rules, but nothing is displayed in the log of squid and > no object is cached. > > Someone could help me with this > problem? > > Regards, > > Michel Peterson > > > > > > -- View this message in context: http://www.nabble.com/Squid3%28Bridge%29%2BTproxy%2BMikrotik----tp19590334p19814575.html Sent from the Squid - Users mailing list archive at Nabble.com.