2 # miniupnpd integration for firewall3
4 iptables -t filter -N MINIUPNPD 2>/dev/null
5 iptables -t nat -N MINIUPNPD 2>/dev/null
8 for ext_iface in $(uci -q get upnpd.config.external_iface); do
10 for ext_zone in $(fw3 -q network "$ext_iface"); do
11 iptables -t filter -I zone_${ext_zone}_forward -j MINIUPNPD
12 iptables -t nat -I zone_${ext_zone}_prerouting -j MINIUPNPD