Browse Source

Push out 0.9.11

master
bbruns 12 years ago
parent
commit
1b246529b0
  1. 2
      bin/firewall-sosdg
  2. 4
      conf/port-forwards.default

2
bin/firewall-sosdg

@ -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//:/ } )

4
conf/port-forwards.default

@ -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

Loading…
Cancel
Save