#! /bin/sh # $Id: ip6tables_init.sh,v 1.1.1.1 2013/07/22 00:32:35 misho Exp $ IPTABLES=/sbin/ip6tables #change this parameters : EXTIF=eth0 #adding the MINIUPNPD chain for filter $IPTABLES -t filter -N MINIUPNPD #adding the rule to MINIUPNPD $IPTABLES -t filter -A FORWARD -i $EXTIF ! -o $EXTIF -j MINIUPNPD