[tproxy] Squid with tproxy extra brief FAQ - take 2

Bryan Liang lb7ba6 at gmail.com
Thu Feb 28 02:53:46 CET 2008


<C) Version tproxy-4.1.0
<   ================
<     The ebtables/bridge notes above is equally applicable. However
<     the iptables rules are totally different.
<
<     Something like this will be required :-
<
<          iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY \
<                 --tproxy-mark 0x1/0x1 -on-port 3128
<           iptables -t mangle -N DIVERT
<           iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT

  What is  "-m socket" ? is there any matches called socket?

Thanks,
-Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/tproxy/attachments/20080228/547f2381/attachment.htm 


More information about the tproxy mailing list