From a24671f5a3e0e055db6dfe72d4dc83cd3f056996 Mon Sep 17 00:00:00 2001 From: bbruns Date: Sat, 18 Dec 2010 22:08:21 +0000 Subject: [PATCH] Push out 0.9.11 --- ChangeLog | 3 +++ conf/port-forwards.default | 4 ++-- options.default | 7 ++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f5e169..1c46b0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ - Option to use state or conntrack module for state tracking. By default, use conntrack. - After some research, we seem to not need NEW state match in FORWARD + - Auto detect default gateway interface and IP of interface. Has potential problems + if run before we've got a default interface, so manually define EXTIF to be sure, and + things should be okay. This is mostly for people with dynamic IPs. 0.9.10 - Brielle Bruns - Move clamp mss up earlier in the rules to possibly diff --git a/conf/port-forwards.default b/conf/port-forwards.default index aac7602..393e35d 100644 --- a/conf/port-forwards.default +++ b/conf/port-forwards.default @@ -1,6 +1,6 @@ # Format is: # External interface:Src IP:External IP:External port:Internal ip:Internal port -# If you want to allow any source IP or a dynamic IP external IP, use 0/0 and not 0.0.0.0 -# (iptables translates 0.0.0.0 to 0.0.0.0/32 which won't work) +# 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 # Rename this file to port-forwards before using! #eth0:4.2.2.0:4.2.2.1:8080:tcp:192.168.0.100:80 diff --git a/options.default b/options.default index e1649b5..349de01 100755 --- a/options.default +++ b/options.default @@ -50,11 +50,16 @@ POSTRUN="$BASEDIR/conf/postrun" # which will try to detect the proper interface, # but requires a default route to be properly setup # first. -EXTIF="auto" +# We recommend manually defining this unless you really +# need to automagically detect the interface. +EXTIF="eth0" # Primary external IP address # Can be an IP address or auto, which will try to detect # the primary external IP using the information from EXTIF +# This is mostly useful for people who have a dynamic external +# IP address. Everyone else should manually define this to +# avoid potential detection issues. EXTIP="auto" # Program/script for finding the default external interface