summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-02-06 18:13:18 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2014-02-06 18:13:18 +0100
commit58895725dbe3e95f89cc23a362e046714e1421c0 (patch)
tree87bdfbcb52b343ff333334818a809368538aa480
parent4bae2cb246e58e6ca757f170b937da2eefc4ece5 (diff)
downloadold-firewall-58895725dbe3e95f89cc23a362e046714e1421c0.tar.gz
old-firewall-58895725dbe3e95f89cc23a362e046714e1421c0.tar.bz2
old-firewall-58895725dbe3e95f89cc23a362e046714e1421c0.zip
port redirect for yolla
-rw-r--r--rules/10-ar4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/10-ar b/rules/10-ar
new file mode 100644
index 0000000..888e8a2
--- /dev/null
+++ b/rules/10-ar
@@ -0,0 +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
+}