iptables how coexist load balancing and transparent proxy?

Tuesday, July 1, 2014

i have a transparent proxy on port 7070. 'iptables -t nat -I PREROUTING -p tcp -j sock_pre' sock_pre has 'REDIRECT --to 7070'


soon, i add a interface ,make load balancing 'iptables -t mangle -I PREROUTING -p tcp -j hook iptables -t mangle -I OUTPUT-p tcp -j hook' hook has '-m mark --mark 0x0/0xff00 MARK xset 0x100/0xff00 MARK xset 0x200/0xff00 '


then all proxy data can not reach 7070 .. iptables how coexist load balancing and transparent proxy ?







http://ift.tt/TBt01q