[pptp-server] Specific subnet via VPN

Sam Johnston samj at samj.net
Sun May 20 07:34:49 CDT 2001


Hi,

I want to create a VPN connection to a server and have all traffic
destined for that server and ideally the server's local subnet sent over
it (say, 1.2.3.4/24 - subnet 1.2.3.0, server 1.2.3.4, netmask
255.255.255.0). I do not want to have *all* traffic sent over the link,
just traffic for aforementioned server/subnet. Clients would be
9X/NT/2k. Configuration should be done via PPP only (ie no route
scripts).

I currently have something like:

localip 1.2.3.4
remoteip 1.2.3.5-10

and can connect OK but win98 wants to add the default route anyway
(unless I tell it not to in the properties for the connection). The
subnet mask (specified in pptpd-options as netmask 255.255.255.0)
doesn't seem to be working either.

Bonus poitnts for multiple protected subnets (although I'm fairly sure
I'm asking a bit much there!).

Please CC me as I'm not on the list. Thanks.

 - samj





More information about the pptp-server mailing list