projects
/
wiki
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3d9178
)
Fix typo in iptables command.
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 25 Aug 2010 14:05:15 +0000
(16:05 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 25 Aug 2010 14:05:15 +0000
(16:05 +0200)
examples/masquerading-firewall.mdwn
patch
|
blob
|
history
diff --git
a/examples/masquerading-firewall.mdwn
b/examples/masquerading-firewall.mdwn
index
75d6f75
..
6305950
100644
(file)
--- 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