#!/bin/sh #---------------------------------------------------------------------------- # /etc/ppp/ip-up400.portfw - setup portfw # # Creation: 23.07.2001 tg # Last Update: $Id$ #---------------------------------------------------------------------------- if [ "$is_default_route" = "yes" ] # is a default-route-interface going up then echo 'port forwarding: switching to dynamic rule set ...' /usr/local/bin/setup-portfw.sh up dynamic $local echo 'port forwarding: done' else echo 'ignoring portforwardings for non default route interface' fi