Push out 0.9.11

master
bbruns 2010-12-18 22:13:41 +00:00
parent a24671f5a3
commit 1b246529b0
2 changed files with 3 additions and 3 deletions

View File

@ -513,7 +513,7 @@ if [ "$PORTFW" ] && [ "$NAT" ]; then
if [ "$SRCIP" ]; then
SRCIP="-s ${SRCIP}"
fi
if [ ! "$DSTIP" ]; then
if [[ ! "$DSTIP" ]] && [[ ! "$DSTIF" ]]; then
DSTIP="$EXTIP"
fi
#PORTADD=( ${i//:/ } )

View File

@ -1,6 +1,6 @@
# Format is:
# External interface:Src IP:External IP:External port:Internal ip:Internal port
# You can safely leave the interface field blank as well as the Src IP field blank
# However, you must have EXTIP defined or detected properly if you leave the External IP field blank
# You can safely leave the interface field blank as well as the Src IP and External IP field blank
# However, you need to define at least the interface or external IP or you probably will have issues.
# Rename this file to port-forwards before using!
#eth0:4.2.2.0:4.2.2.1:8080:tcp:192.168.0.100:80