#!/bin/sh #---------------------------------------------------------------------------- # /etc/ppp/ip-down600.portfw - shutdown 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 static rule set ...' /usr/local/bin/setup-portfw.sh down dynamic echo 'port forwarding: done' else echo 'ignoring portforwardings for non default route interface' fi