#! /bin/sh # $Id: ip6tables_removeall.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $ IPTABLES=/sbin/ip6tables #change this parameters : EXTIF=eth0 #removing the MINIUPNPD chain for filter $IPTABLES -t filter -F MINIUPNPD #adding the rule to MINIUPNPD $IPTABLES -t filter -D FORWARD -i $EXTIF ! -o $EXTIF -j MINIUPNPD $IPTABLES -t filter -X MINIUPNPD