Dynamically add a route through a VPN interface

  • Thread starter Thread starter Vince C.
  • Start date Start date
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.
 
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
 
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.
 
Back
Top