Executar como administrador, em seguida, os comandos salvam no firewall
if [ "'nvram get wan_proto'" = "pppoe" ]; then
wanif="'nvram get pppoe_ifname'"
else
wanif="'nvram get wan_ifname'"
fi
# Make sure br1 has access to the internet:
iptables -I INPUT -i br1 -m state --state NEW -j logaccept
iptables -I FORWARD -i br1 -o $wanif -m state --state NEW -j ACCEPT