thor ssh
parent
888c2f3090
commit
8e6a5e6a2a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue