port redirect for yolla
parent
321e3d4fd8
commit
4f6eec12ad
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue