diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-12-07 22:50:18 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-12-07 22:50:18 +0000 |
commit | 3a0b1c2e073dcaa38d8ce052ebb31d776f8af58d (patch) | |
tree | 8f6d7baea60503b21234ed06a7985a717230371d /ipmasq | |
parent | 31f97feafce102f5cd5b261e0b6ae31cbce06c7d (diff) |
ipmasq has changed at some point: EXTERNAL is split into EXTERNAL_IN and EXTERNAL_OUT.
Diffstat (limited to 'ipmasq')
-rw-r--r-- | ipmasq/rules/M80pfw.def | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipmasq/rules/M80pfw.def b/ipmasq/rules/M80pfw.def index 38e212f..b3792ac 100644 --- a/ipmasq/rules/M80pfw.def +++ b/ipmasq/rules/M80pfw.def @@ -5,7 +5,8 @@ # However, any changes you make to this file will be preserved. #: Masquerade packets from internal networks -if [ -n "$INTERNAL" -a -n "$EXTERNAL" -a -n "$PFW" ]; then +#if [ -n "$INTERNAL" -a -n "$EXTERNAL_IN" -a -n "$PFW" ]; then +if [ -n "$EXTERNAL_IN" -a -n "$PFW" ]; then for pool in $PFWPOOLS; do eval "PROTOS=\"\$PFWPROTO_$pool\"" eval "ORIGPORTS=\"\$PFWORIGPORTS_$pool\"" @@ -14,7 +15,7 @@ if [ -n "$INTERNAL" -a -n "$EXTERNAL" -a -n "$PFW" ]; then for PROTO in $PROTOS; do for ORIGPORT in $ORIGPORTS; do ORIGPORT_DASH=$(echo $ORIGPORT | sed 's/:/-/g') - for j in $EXTERNAL; do + for j in $EXTERNAL_IN; do ipnm_cache $j EXTIP=$IPOFIF case $MASQMETHOD in |