port redirect for yolla

master
Robert Gerus 2014-02-06 18:13:18 +01:00
parent 4bae2cb246
commit 58895725db
1 changed files with 4 additions and 0 deletions

4
rules/10-ar Normal file
View File

@ -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
}