multiple vpn connections

S

Scott Ponder

I have a windows xp machine which I use to connect to multiple client
sites using the standard vpn connectivity built into the OS. The
problem is whenever I connect the vpn client establishes a 0.0.0.0
route for the new ipaddress assigned to the vpn connection. That
means that all my traffic (both internet traffic and other vpn
attempts) are routed across the 1st vpn connection. Is there a way to
keep the vpn from setting up this default route and can I tell the
connection what routes I want it to setup?

Thanks for you time.

Scott Ponder
Health Systems Resources.
 
P

Prefect Smith

-----Original Message-----
I have a windows xp machine which I use to connect to multiple client
sites using the standard vpn connectivity built into the OS. The
problem is whenever I connect the vpn client establishes a 0.0.0.0
route for the new ipaddress assigned to the vpn connection. That
means that all my traffic (both internet traffic and other vpn
attempts) are routed across the 1st vpn connection. Is there a way to
keep the vpn from setting up this default route and can I tell the
connection what routes I want it to setup?

I would like to know too, but I don't have the setup to
test my idea. Hopefully there is an easier way. If you
use the commandline tool 'route' you should be able to
override the default (0.0.0.0) route set by the vpn client.
I would guess you want to set it back to what it was
before, which you can find out by using 'route print'.
The problem is, you still need to add a route to send
packets over the VPN. This requires knowing the IP
address of both ends of the connection ( and if the far
end of the VPN isn't the final destination, you'll need
the network's address & netmask ) If you're unlucky and
the VPN you're connecting to uses the same private address
range as you, you're largely out-of-luck until someone
changes. And that's just to get your internet access back
while the first VPN is up. Now to get your second...
well, you're an expert now. :)
 
S

Scott Ponder

Yeah, that's pretty much what I thought. I've been manually deleting
the 0.0.0.0 route that points to the vpn connection and setting a
route for the client subnet in it's place. I was just hoping there
was a setting or a hack that I'd missed. Scripting the changes is
tough because there is the chance that I'd get a different ip address
every time from the vpn box. I guess it would be possible to use php
or something of the sort. I'm more of a unix guy so the majority of my
scripting experience is with ksh. Anyone got ksh for windows xp? ;)

Thanks for the help.
 

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