summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-02-06 18:14:25 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2014-02-06 18:14:25 +0100
commit321e3d4fd8641c2eb00f9fcd006e08daee96e062 (patch)
treebddbd941e24d0f1beb37ee8213a1d8a1533a618a
parent58895725dbe3e95f89cc23a362e046714e1421c0 (diff)
downloadold-firewall-321e3d4fd8641c2eb00f9fcd006e08daee96e062.tar.gz
old-firewall-321e3d4fd8641c2eb00f9fcd006e08daee96e062.tar.bz2
old-firewall-321e3d4fd8641c2eb00f9fcd006e08daee96e062.zip
port redirect for yolla
-rw-r--r--rules/10-ar2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/10-ar b/rules/10-ar
index 888e8a2..d3da618 100644
--- a/rules/10-ar
+++ b/rules/10-ar
@@ -1,4 +1,4 @@
#!/bin/bash
rules() {
- iptables --table nat $append PREROUTING -p tcp --dport 2020 -j REDIRECT --to-host 10.24.20.20 --to-port 22
+ iptables --table nat $append PREROUTING -p tcp --dport 2020 -j REDIRECT --to-destination 10.24.20.20:20
}