Annotation of embedaddon/miniupnpd/netfilter/ip6tables_removeall.sh, revision 1.1
1.1 ! misho 1: #! /bin/sh
! 2: # $Id: ip6tables_removeall.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
! 3: IPTABLES=/sbin/ip6tables
! 4:
! 5: #change this parameters :
! 6: EXTIF=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:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>