Creative and snapshot minecraft servers on amanojaku

master
Robert Gerus 2014-06-20 21:22:37 +02:00
parent ad5118bc5e
commit bc96cfd10c
1 changed files with 2 additions and 0 deletions

View File

@ -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
}