srsly
parent
a7bce36766
commit
7bdac9348e
|
@ -3,6 +3,6 @@ rules() {
|
|||
# xpsp3 rdp
|
||||
# 16283 -> 10.24.17.1:3389
|
||||
iptables -t nat $flag PREROUTING -i ${IF_WAN} -d ${HOST_KASHA_WAN} -p tcp --dport 16283 -j DNAT --to-destination 10.24.17.1:3389
|
||||
iptanles -t filter $flag FORWARD -i ${IF_WAN} -d 10.24.17.1 -p tcp --dport 3389 -j ACCEPT
|
||||
iptables -t filter $flag FORWARD -i ${IF_WAN} -d 10.24.17.1 -p tcp --dport 3389 -j ACCEPT
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue