[pptp-server] PPTP Windows client

George Vieira GeorgeV at citadelcomputer.com.au
Sat Dec 23 01:11:55 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..

-----Original Message-----
From: pptp-server-admin at lists.schulte.org
[mailto:pptp-server-admin at lists.schulte.org]On Behalf Of Eduard Kohler
Sent: Saturday, December 23, 2000 11:16 AM
To: pptp-server at lists.schulte.org
Subject: [pptp-server] PPTP Windows client


Hello,

I configured the pptpd, the windows client and almost works ok. But 
I still have a "challange" with the Win9x client:

After connecting the client, I do a "route" command. I can see here
the entry who tells that all the traffic to 192.168.1.* goes through
the 192.168.1.128 (my assigned address). This is ok to access data on
the subnet 192.168.1.0 / 24, but I want to be able to access my whole
LAN: 192.168.0.0 / 16.

Anyone know how could I tell this to my Win9x client ?? 
Of course, deleting the route and adding a new one is a solution, but
I want to do it automatically when I'm connecting the server.

Eduard Kohler.
_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
List services provided by www.schulteconsulting.com!



More information about the pptp-server mailing list