#! /bin/sh # $Id: ip6tables_removeall.sh,v 1.1 2013/07/22 00:32:35 misho 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