old-firewall/rules/10-ar

12 lines
683 B
Plaintext
Raw Normal View History

2014-02-06 17:13:18 +00:00
#!/bin/bash
rules() {
2014-02-06 17:17:53 +00:00
iptables --table nat $append PREROUTING -p tcp --dport 2220 -j DNAT --to-destination 10.24.20.20:22
2014-08-30 13:51:49 +00:00
iptables --table nat $append PREROUTING -p tcp --dport 220 -j DNAT --to-destination 10.24.20.0:22
2014-09-13 11:49:54 +00:00
# minecraft - survival
iptables --table nat $flag PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.24.0.1:25565
iptables --table nat $flag PREROUTING -p udp --dport 25565 -j DNAT --to-destination 10.24.0.1:25565
# kasha ssh
iptables --table nat $flag PREROUTING -p tcp --dport 10022 -j DNAT --to-destination 10.24.0.1:22
2014-09-15 05:18:07 +00:00
# iptables --table nat $flag PREROUTING -p tcp --dport 443 -j DNAT --to-destination 10.24.0.1:22
2014-02-06 17:13:18 +00:00
}