diff options
author | Robert Gerus <ar@bash.org.pl> | 2014-09-13 13:49:54 +0200 |
---|---|---|
committer | Robert Gerus <ar@bash.org.pl> | 2014-09-13 13:49:54 +0200 |
commit | ec537f28bd38375a2cb2d25a0685324e61395a82 (patch) | |
tree | d4817001ab070b787b2ea16f1e01d835ce96af45 | |
parent | 1a7e0fcf8b6ce5838fd407a56705830bb4bbd3c6 (diff) | |
download | old-firewall-ec537f28bd38375a2cb2d25a0685324e61395a82.tar.gz old-firewall-ec537f28bd38375a2cb2d25a0685324e61395a82.tar.bz2 old-firewall-ec537f28bd38375a2cb2d25a0685324e61395a82.tar.xz old-firewall-ec537f28bd38375a2cb2d25a0685324e61395a82.zip |
whoopsie…
-rw-r--r-- | rules/10-ar | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/rules/10-ar b/rules/10-ar index 7354d0d..cba31ba 100644 --- a/rules/10-ar +++ b/rules/10-ar @@ -2,13 +2,9 @@ rules() { iptables --table nat $append PREROUTING -p tcp --dport 2220 -j DNAT --to-destination 10.24.20.20:22 iptables --table nat $append PREROUTING -p tcp --dport 220 -j DNAT --to-destination 10.24.20.0:22 - # minecraft - iptables --table nat $flag PREROUTING -p tcp --dport 25566 -j DNAT --to-destination 10.24.20.100:25566 - iptables --table nat $flag PREROUTING -p tcp --dport 25567 -j DNAT --to-destination 10.24.20.100:25567 - # minecraft queries - iptables --table nat $flag PREROUTING -p udp --dport 25566 -j DNAT --to-destination 10.24.20.100:25566 - iptables --table nat $flag PREROUTING -p udp --dport 25567 -j DNAT --to-destination 10.24.20.100:25567 - # amanojaku ssh - iptables --table nat $flag PREROUTING -p tcp --dport 10022 -j DNAT --to-destination 10.24.20.100:22 - iptables --table nat $flag PREROUTING -p tcp --dport 51413 -j DNAT --to-destination 10.24.20.100:51413 + # minecraft - survival + iptables --table nat $flag PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.24.0.1:25565 + iptables --table nat $flag PREROUTING -p udp --dport 25565 -j DNAT --to-destination 10.24.0.1:25565 + # kasha ssh + iptables --table nat $flag PREROUTING -p tcp --dport 10022 -j DNAT --to-destination 10.24.0.1:22 } |