[pptp-server] Dynamic routes when mounting a PPTP tunnel
James Cameron
cameron at fax.sno.cpqcorp.net
Mon Mar 18 15:48:43 CST 2002
On Debian, add scripts to /etc/ppp/ip-up.d/ that test the ipparam given
to pppd, or the IP address. For instance, my VPN in to work has this
sort of script to fix the routes ...
#!/bin/sh
if [ $PPP_IPPARAM == "sno" ]; then
route add -net 1.2.3.0/8 dev ${IFNAME}
fi
--
James Cameron (james.cameron at compaq.com)
http://quozl.linux.org.au/ (or) http://quozl.netrek.org/
More information about the pptp-server
mailing list