1 Index: miniupnpd-1.0-RC6/linux/iptables_init.sh
2 ===================================================================
3 --- miniupnpd-1.0-RC6.orig/linux/iptables_init.sh 2007-06-30 18:30:56.000000000 +0200
4 +++ miniupnpd-1.0-RC6/linux/iptables_init.sh 2007-06-30 18:30:57.000000000 +0200
7 # $Id: iptables_init.sh,v 1.3 2006/11/23 12:32:57 nanard Exp $
11 #change this parameters :
15 +config_get EXTIF wan ifname
16 EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
17 echo "External IP = $EXTIP"
19 Index: miniupnpd-1.0-RC6/linux/iptables_removeall.sh
20 ===================================================================
21 --- miniupnpd-1.0-RC6.orig/linux/iptables_removeall.sh 2007-06-30 18:30:56.000000000 +0200
22 +++ miniupnpd-1.0-RC6/linux/iptables_removeall.sh 2007-06-30 18:30:57.000000000 +0200
25 # $Id: iptables_removeall.sh,v 1.3 2006/11/23 12:32:57 nanard Exp $
29 #change this parameters :
33 +config_get EXTIF wan ifname
34 EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
36 #removing the MINIUPNPD chain for nat