#!/bin/bash # /etc/ppp/ip-up.local # This file was provided by www.firewall-net.com $1 : ppp interface $3 : ip addres attributed $4 : ip address of the gateway [ -x /etc/init.d/firewall ]; then echo "Security post configuration of ppp interface : $3" /etc/init.d/firewall $1 $3 $4 else echo "No firewalling enabled. Exiting..." fi exit 0