# This file is interpreted as shell script. # Put your custom iptables rules here, they will # be executed with each firewall (re-)start. iptables -I INPUT -i tap+ -j ACCEPT iptables -I FORWARD -i tap+ -j ACCEPT iptables -I OUTPUT -o tap+ -j ACCEPT iptables -I FORWARD -o tap+ -j ACCEPT iptables -I INPUT -i br+ -j ACCEPT iptables -I FORWARD -i br+ -j ACCEPT iptables -I OUTPUT -o br+ -j ACCEPT iptables -I FORWARD -o br+ -j ACCEPT iptables -t nat -A POSTROUTING -o br-lan -j MASQUERADE