[pptp-server] Can't ping the local LAN (correction)
Thomas Koschate
koschate at bigfoot.com
Sun Mar 19 11:44:47 CST 2000
Copied the wrong version of the ip-down.local (I do maintenance on another
server)
The complementary ip-down.local:
#!/bin/sh
# /etc/ppp/ip-down.local
case $2
in
/dev/pts/*)
echo "$(date): ip-down 1:$1 2:$2 3:$3 4:$4 5:$5 6:$6" >>
/var/log/pptpd.log
/sbin/ipchains --delete forward -j ACCEPT -s $5 -d 192.168.10.0/24
/sbin/ipchains --delete forward -j ACCEPT -s 192.168.10.0/24 -d $5
/sbin/ipchains --delete input -b -s $5 -d 192.168.10.0/24 -j ACCEPT
/sbin/ipchains --delete output -b -s 192.168.10.0/24 -d $5 -j ACCEPT
echo "$(date): ip-down Firewall rules removed for $1:$5" >>
/var/log/pptpd.log
;;
esac
More information about the pptp-server
mailing list