#!/bin/sh # pmfirewall.conf - used by pmfirewall package IPCHAINS=/sbin/ipchains ATBOOT=0 CONFIG_DIR=/usr/local/pmfirewall OUTERIF=ppp0 REMOTENET=0/0 OUTERIP=`ifconfig $OUTERIF | grep inet | cut -d : -f 2 | cut -d \ -f 1` OUTERMASK=`ifconfig $OUTERIF | grep Mas | cut -d : -f 4` OUTERNET=$OUTERIP/$OUTERMASK INTERNALIF=eth0 INTERNALIP=`ifconfig $INTERNALIF | grep inet | cut -d : -f 2 | cut -d \ -f 1` INTERNALMASK=`ifconfig $INTERNALIF | grep Mas | cut -d : -f 4` INTERNALNET=$INTERNALIP/$INTERNALMASK