miniupnpd 1.9 (20160113)
[tomato.git] / release / src / router / miniupnpd / netfilter / ip6tables_init.sh
blob288b980b78e4faf612fb608c441d3349d522514b
1 #! /bin/sh
2 # $Id: ip6tables_init.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
3 IPTABLES=/sbin/ip6tables
5 #change this parameters :
6 EXTIF=eth0
8 #adding the MINIUPNPD chain for filter
9 $IPTABLES -t filter -N MINIUPNPD
10 #adding the rule to MINIUPNPD
11 $IPTABLES -t filter -A FORWARD -i $EXTIF ! -o $EXTIF -j MINIUPNPD