[pptp-server] PPTP Windows client

Eduard Kohler edd at gis.ch
Sat Dec 23 05:41:13 CST 2000


>the only way I know is to do it in /etc/ppp/ip-up.local if it's a linux
>machine.
>
>make the script detect if it's the pptp tunnel being started or a normal
>dial up or whatever using the `ipparam` that pppd uses.
>Then just detect it and add the route into the script.. it'll work everytime
>as long as you use the ipparam command eg.
>
>pptp 203.x.x.x name whoever ipparam pptp noauth
>
>
>/etc/ppp/ip-up.local
>---------------------
>#!/bin/bash
>
>if [ "$6" = "pptp"]; then
>	route del -net 192.168.1.0/24
>	route add -net 192.168.0.0/16
>fi
>
>that should do the trick..
>

I'm not sure to really understand this response. My server is a linux machine
and my client is a windows machine. The route to add is on the client side.
If I add the lines above in the ip-up script the route will be added on the 
server side, isn't it?


Merry christmas,

Eduard Kohler.




More information about the pptp-server mailing list