my laptop has a different IP now.

master
Robert "ar" Gerus 2013-03-23 11:50:04 +01:00
parent 04105bfcd9
commit 4095ac05a1
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ rules() {
iptables --table filter $flag FORWARD -i ${IF_LAN} -o ${IF_WAN} -j ACCEPT
iptables --table nat $flag POSTROUTING -s ${NET_LAN} -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN}
if ${HAVE_WAN2}; then
iptables --table nat $flag POSTROUTING -s 10.24.0.10 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN2}
iptables --table nat $flag POSTROUTING -s 10.24.20.10 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN2}
fi
}