version 1.1.1.2, 2012/05/29 12:55:57
|
version 1.1.1.3, 2013/07/22 00:32:35
|
Line 4 IPTABLES=/sbin/iptables
|
Line 4 IPTABLES=/sbin/iptables
|
|
|
#change this parameters : |
#change this parameters : |
EXTIF=eth0 |
EXTIF=eth0 |
EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`" | EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet ' | awk '{print $2}' | sed -e 's/.*://'`" |
echo "External IP = $EXTIP" |
echo "External IP = $EXTIP" |
|
|
#adding the MINIUPNPD chain for nat |
#adding the MINIUPNPD chain for nat |