1#! /bin/sh
2# $Id: ip6tables_removeall.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
3IPTABLES=/sbin/ip6tables
4
5#change this parameters :
6EXTIF=eth0
7
8#removing the MINIUPNPD chain for filter
9$IPTABLES -t filter -F MINIUPNPD
10#adding the rule to MINIUPNPD
11$IPTABLES -t filter -D FORWARD -i $EXTIF ! -o $EXTIF -j MINIUPNPD
12$IPTABLES -t filter -X MINIUPNPD
13
14