diff options
author | Robert Gerus <arachnist@i.am-a.cat> | 2014-08-30 15:51:49 +0200 |
---|---|---|
committer | Robert Gerus <arachnist@i.am-a.cat> | 2014-08-30 15:51:49 +0200 |
commit | 8e6a5e6a2a1814239f82622e22b85408a1c7237e (patch) | |
tree | b1d3ad90f9b53d29dc919320a41802fdda3a05e9 | |
parent | 888c2f30909bfd3d9c519a894e2a9cb6dce21750 (diff) | |
download | old-firewall-8e6a5e6a2a1814239f82622e22b85408a1c7237e.tar.gz old-firewall-8e6a5e6a2a1814239f82622e22b85408a1c7237e.tar.bz2 old-firewall-8e6a5e6a2a1814239f82622e22b85408a1c7237e.tar.xz old-firewall-8e6a5e6a2a1814239f82622e22b85408a1c7237e.zip |
thor ssh
-rw-r--r-- | rules/10-ar | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/10-ar b/rules/10-ar index a12ebb4..7354d0d 100644 --- a/rules/10-ar +++ b/rules/10-ar @@ -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 |