add the 666 port redirect on second ip.

master
Robert Gerus 2013-07-09 00:02:55 +02:00
parent c90ee51978
commit a94ab7d8d0
1 changed files with 1 additions and 0 deletions

View File

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