iptables for transparent proxy
Hi all. I'm implementing transparent proxy in a Linux machine. I went through the Linux's documentation regarding Tproxy found in the Linux source folder (Linux/Documentation/networking/tproxy.txt).
What is the use of this iptable rule below having the socket option? What it really does? I read in some forums that this rule is to avoid sending the packets to tproxy twice. What it really means?
iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
Thank you.
|