master
Robert Gerus 2014-08-30 15:51:49 +02:00
parent 888c2f3090
commit 8e6a5e6a2a
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
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