summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergiusz 'q3k' Bazański <q3k@q3k.org>2013-04-02 11:43:29 +0200
committerSergiusz 'q3k' Bazański <q3k@q3k.org>2013-04-02 11:43:29 +0200
commita7bce3676676e48406ec8ea44517cc2bf72829a7 (patch)
tree8f12822cf43a90ceb8cc3c81b227f911df23b7e6
parente4f106b15afb9e77d81f283f2d9baf6c9100762b (diff)
downloadold-firewall-a7bce3676676e48406ec8ea44517cc2bf72829a7.tar.gz
old-firewall-a7bce3676676e48406ec8ea44517cc2bf72829a7.tar.bz2
old-firewall-a7bce3676676e48406ec8ea44517cc2bf72829a7.zip
I cannot into iptables.
-rw-r--r--rules/11-q3k-forwards2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/11-q3k-forwards b/rules/11-q3k-forwards
index a1e8ee7..7c8be74 100644
--- a/rules/11-q3k-forwards
+++ b/rules/11-q3k-forwards
@@ -2,7 +2,7 @@
rules() {
# xpsp3 rdp
# 16283 -> 10.24.17.1:3389
- iptables -t nat $flag PREROUTING -i ${IF_WAN} -d ${HOST_KASHA_WAN} -p tcp --dport 16283 -j DNAT --to-destination 10.24.17.1 --to-port 3389
+ iptables -t nat $flag PREROUTING -i ${IF_WAN} -d ${HOST_KASHA_WAN} -p tcp --dport 16283 -j DNAT --to-destination 10.24.17.1:3389
iptanles -t filter $flag FORWARD -i ${IF_WAN} -d 10.24.17.1 -p tcp --dport 3389 -j ACCEPT
}