summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-06-20 21:22:37 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2014-06-20 21:22:37 +0200
commitbc96cfd10cac2f14c9d75480c1ca298afbe3a6d4 (patch)
treedf099c06ae827be71e2cf50b9a402dd755a36e8b
parentad5118bc5eac6a9aa3f2feda999954a1b1c97a2b (diff)
downloadold-firewall-bc96cfd10cac2f14c9d75480c1ca298afbe3a6d4.tar.gz
old-firewall-bc96cfd10cac2f14c9d75480c1ca298afbe3a6d4.tar.bz2
old-firewall-bc96cfd10cac2f14c9d75480c1ca298afbe3a6d4.zip
Creative and snapshot minecraft servers on amanojaku
-rw-r--r--rules/10-ar2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/10-ar b/rules/10-ar
index 85a10d3..8e74ade 100644
--- a/rules/10-ar
+++ b/rules/10-ar
@@ -1,4 +1,6 @@
#!/bin/bash
rules() {
iptables --table nat $append PREROUTING -p tcp --dport 2220 -j DNAT --to-destination 10.24.20.20:22
+ 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
}