my laptop has a different IP now.
parent
04105bfcd9
commit
4095ac05a1
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue