X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=examples%2Fmasquerading-firewall.mdwn;h=6305950432168934d73e80df6b414a92c4775ca3;hb=b729b4a95dc11d67c2931180488bfdefc98ce241;hp=75d6f75d2c973ebbf3e1cee4ce4658a4f542e7f4;hpb=bf3343ca2d0c70750e5e3e04cccc229457a49eb5;p=wiki diff --git a/examples/masquerading-firewall.mdwn b/examples/masquerading-firewall.mdwn index 75d6f75..6305950 100644 --- a/examples/masquerading-firewall.mdwn +++ b/examples/masquerading-firewall.mdwn @@ -157,7 +157,7 @@ The network setup is as follows: > > iptables -t nat -F POSTROUTING > # Next rule prevents masquerading from altering source port of outbound tinc packets -> iptables -t nat -A POSTROUTING -p udp -m udp -sport 655 -j MASQUERADE -o ppp0 --to-ports 655 +> iptables -t nat -A POSTROUTING -p udp -m udp --sport 655 -j MASQUERADE -o ppp0 --to-ports 655 > iptables -t nat -A POSTROUTING -j MASQUERADE -o ppp0 > > iptables -t nat -F PREROUTING