port redirect for yolla

master
Robert Gerus 2014-02-06 18:17:53 +01:00
parent 4f6eec12ad
commit 49e1f905a5
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
rules() {
iptables --table nat $append PREROUTING -p tcp --dport 2020 -j DNAT --to-destination 10.24.20.20:20
iptables --table nat $append PREROUTING -p tcp --dport 2220 -j DNAT --to-destination 10.24.20.20:22
}