How to add static route for VPN client connection?

R

Richard Jones

All,

Here's the situation. I have a D-Link DI-824VUP VPN router,
which can act as an PPTP server, and am making PPTP connections over the
internet using the XP VPN client. I'm running a subnet of 192.168.2.0 on the
LAN side. Here's the problem. The D-Link offers no easy way to control the
virtual IPs used, other than entering the subnet that it is to be used, and
it cannot be the same as the local LAN subnet. So I set it to use
192.168.3.0. It then gives the client connection a variable IP in this
range, and there is no way to know what this IP will be beforehand.

If the client checks the "use default gateway on remote network"
box, he can access the LAN behind the D-Link, as the client sets up the
0.0.0.0 default gateway to point to the VPN connection. However, I would
like to leave this unchecked, so the client can access the internet normally
over his DSL connection and all that. However, since the D-Link gives the
VPN a 192.168.3.0 subnet, a route entry must be manually added after the
connection is made to point 192.168.2.0 over the VPN connection.

Is there any way to do this automatically? As is, on the client,
you have to make the connection, determine the IP address, then add the
192.168.2.0 route entry manually. Is there a way to set up a static route
entry to do this automatically?



-Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top