2019-09-10 22:09:01 +02:00
|
|
|
# Ensure nothing is forwarded onto WAN interface
|
2019-10-09 18:27:05 +02:00
|
|
|
if [ -n "$IF_WAN" ]; then
|
|
|
|
iptables -A FORWARD -o $IF_WAN -j REJECT --reject-with icmp-net-unreachable
|
|
|
|
ip6tables -A FORWARD -o $IF_WAN -j REJECT --reject-with no-route
|
|
|
|
fi
|