summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-02-06 18:14:55 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2014-02-06 18:14:55 +0100
commit4f6eec12ad0e8c00c7e9b60462106d6e3a8b3ed8 (patch)
tree1a3f9559f436ca17d762e7fcb73c499e061462fb
parent321e3d4fd8641c2eb00f9fcd006e08daee96e062 (diff)
downloadold-firewall-4f6eec12ad0e8c00c7e9b60462106d6e3a8b3ed8.tar.gz
old-firewall-4f6eec12ad0e8c00c7e9b60462106d6e3a8b3ed8.tar.bz2
old-firewall-4f6eec12ad0e8c00c7e9b60462106d6e3a8b3ed8.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 d3da618..f7c4b8f 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-destination 10.24.20.20:20
+ iptables --table nat $append PREROUTING -p tcp --dport 2020 -j DNAT --to-destination 10.24.20.20:20
}