![]() ![]() | ![]() |
1.1 misho 1: #! /bin/sh 2: # $Id: ip6tables_init.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: #adding the MINIUPNPD chain for filter 9: $IPTABLES -t filter -N MINIUPNPD 10: #adding the rule to MINIUPNPD 11: $IPTABLES -t filter -A FORWARD -i $EXTIF ! -o $EXTIF -j MINIUPNPD 12: