&lt;C) Version tproxy-4.1.0<br>
&lt; &nbsp; ================<br>
&lt;&nbsp; &nbsp;&nbsp; The ebtables/bridge notes above is equally applicable. However<br>

 &lt;&nbsp; &nbsp;&nbsp; the iptables rules are totally different.<br>

&lt;<br>

 &lt;&nbsp; &nbsp;&nbsp; Something like this will be required :-<br>

&lt;<br>

 &lt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY \<br>

 &lt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; --tproxy-mark 0x1/0x1 -on-port 3128<br>

 &lt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; iptables -t mangle -N DIVERT<br>

 &lt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT<br>
<br>
&nbsp; What is&nbsp; &quot;-m socket&quot; ? is there any matches called socket?<br>
<br>
Thanks,<br>
-Bryan<br>