[pptp-server] Dynamic routes when mounting a PPTP tunnel

Jerry Vonau jvonau at shaw.ca
Mon Mar 18 07:37:19 CST 2002


In RH I use /etc/ppp/ip-up.local:

case $5 in
10.2.0.140)
/sbin/route add -net 10.1.0.0 netmask 255.255.255.0 dev
$1                         
...
;;  

10.2.0.141)
/sbin/route add -net 10.3.0.0 netmask 255.255.255.0 dev
$1                     
...
;;
esac   

Hope it helps. 

Jerry Vonau




Alexandre Aractingi wrote:
> 
> Hi,
> I use the PPTP server on a Debian system. It works
> wonderfully (thanks!) and I'd like to be able to
> establish dynamic routes as clients establish tunnels, in
> order to route trafic for machines that are behind the
> client...
> I assign static IP addresses in /etc/ppp/chap-secrets, is
> there a way to also specify routes to be mounted?
> Thanks a lot to everyone,
> Alex
> 
> --------------
> Profitez de l'offre spéciale Tiscali Liberty Surf !
> 50% de temps en plus pendant 3 mois sur tous les forfaits Internet.
> 
> http://register.libertysurf.fr/subscribe_fr/signup.php3
> 
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --



More information about the pptp-server mailing list