we need ssh, sometimes ;)
parent
bc96cfd10c
commit
d92a102e01
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue