pht is being a dick... and i made a typo
parent
d47840e06d
commit
b8df2c5b47
|
@ -2,7 +2,7 @@
|
|||
rules() {
|
||||
iptables --table filter $flag FORWARD -i ${IF_WAN} -o ${IF_LAN} -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
iptables --table filter $flag FORWARD -i ${IF_LAN} -o ${IF_WAN} -j ACCEPT
|
||||
iptables --table nat $flag POSTROUTING -s 10.24.20.0/2 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN}
|
||||
iptables --table nat $flag POSTROUTING -s 10.24.20.0/24 -o ${IF_WAN} -j SNAT --to-source ${HOST_KASHA_WAN}
|
||||
if ${HAVE_WAN2}; then
|
||||
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