Dynamically add a route through a VPN interface

V

Vince C.

Hi.

I'd like to add a route on a Windows XP workstation after it has
established a VPN connection. I've written a CMD file in which I'd like
to add the route but I can't rely on the IP address since it can change.

Is there a way to do that on the command line? I've looked up the
"netsh" command but I didn't understand how to use it - if ever I could
use it at all.

Thanks for any hint or suggestion.
 
B

Bill Stewart

Vince said:
I'd like to add a route on a Windows XP workstation after it has
established a VPN connection. I've written a CMD file in which I'd like
to add the route but I can't rely on the IP address since it can change.

Is there a way to do that on the command line? I've looked up the
"netsh" command but I didn't understand how to use it - if ever I could
use it at all.

Hi,

My first recommendation is to construct your VPN connectoids using the
CMAK on Windows Server 2003. You can define client-side routing for a
connection.

If you're not using Microsoft's VPN, or you're not using Server 2003,
then feel free to try my vpnroute program, although I've had reports of
mixed success. It has always worked for me, but others haven't been so
fortunate.

http://www.cybermesa.com/~bstewart/misctools.html
 
V

Vince C.

Le Wed, 25 Jan 2006 15:51:03 -0700, Bill Stewart a écrit :
Hi,

My first recommendation is to construct your VPN connectoids using the
CMAK on Windows Server 2003. You can define client-side routing for a
connection.

Thanks a lot Bill.

The VPN server is Linux server that supports MPPE/MPPC. We have hence no
such options.

If you're not using Microsoft's VPN, or you're not using Server 2003,
then feel free to try my vpnroute program, although I've had reports of
mixed success. It has always worked for me, but others haven't been so
fortunate.

http://www.cybermesa.com/~bstewart/misctools.html

Isn't there any built-in feature - scripting, shell application or command
- that can be used? I'd like to install/configure as less as possible.

Vince C.
 

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