Automate adding a Route to a VPN connection

Discussion in 'Windows Vista Networking' started by Rick Toner, Feb 20, 2009.

  1. Rick Toner

    Rick Toner Guest

    I connect to quite a few Clients' VPNs and almost every time I have to
    disable "Use default gateway on remote network" so I can have it not route
    everything through their VPN connection. I then have batch files that I
    change the IP to the IP address assigned to the VPN connection that routes
    just to their network.

    Is there any way to automate adding a route to a VPN connection when I start

    Rick Toner, Feb 20, 2009
    1. Advertisements

  2. If it is Windows VPN, you may create a batch file including auto run VPN
    plus modifying routing table. this how to may help.

    How to vpn automaticallyAdd pre-setup VPN auto-connection by CMAK to the
    Startup. 2. Create a logon batch with rasdail command to start the VPN
    connection. ...

    Bob Lin, MS-MVP, MCSE & CNE
    Networking, Internet, Routing, VPN Troubleshooting on
    How to Setup Windows, Network, VPN & Remote Access on
    Robert L. \(MS-MVP\), Feb 20, 2009
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.