we need ssh, sometimes ;)

master
Robert Gerus 2014-06-21 14:14:44 +02:00
parent bc96cfd10c
commit d92a102e01
1 changed files with 1 additions and 0 deletions

View File

@ -3,4 +3,5 @@ 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
iptables --table nat $flag PREROUTING -p tcp --dport 10022 -j DNAT --to-destination 10.24.20.100:22
}