add the 666 port redirect on second ip.
parent
c90ee51978
commit
a94ab7d8d0
|
@ -3,4 +3,5 @@ rules() {
|
|||
if ${HAVE_WAN2}; then
|
||||
iptables -t nat $flag PREROUTING -i ${IF_WAN} -d ${HOST_KASHA_WAN2} -p tcp --dport 666 -j DNAT --to-destination 10.24.0.29:22
|
||||
fi
|
||||
iptables -t nat $flag PREROUTING -i ${IF_WAN} -d ${HOST_KASHA_WAN} -p tcp --dport 666 -j DNAT --to-destination 10.24.0.29:22
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue