miniupnpd 1.9 (20160113)
[tomato.git] / release / src / router / miniupnpd / netfilter / ip6tables_removeall.sh
blob56ffb8eb4a240c138d1c38840d16884ae39e588a
1 #! /bin/sh
2 # $Id: ip6tables_removeall.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
3 IPTABLES=/sbin/ip6tables
5 #change this parameters :
6 EXTIF=eth0
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