We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1117621 commit c376cfdCopy full SHA for c376cfd
Documentation/networking/tproxy.rst
@@ -69,9 +69,9 @@ add rules like this to the iptables ruleset above::
69
# iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY \
70
--tproxy-mark 0x1/0x1 --on-port 50080
71
72
-Or the following rule to nft:
+Or the following rule to nft::
73
74
-# nft add rule filter divert tcp dport 80 tproxy to :50080 meta mark set 1 accept
+ # nft add rule filter divert tcp dport 80 tproxy to :50080 meta mark set 1 accept
75
76
Note that for this to work you'll have to modify the proxy to enable (SOL_IP,
77
IP_TRANSPARENT) for the listening socket.
0 commit comments