When I m connected to my work VPN, all traffic goes through it, I would like to have only 10.10.10.x addresses go through VPN. Route add?

Home » Computer Networking » When I m connected to my work VPN, all traffic goes through it, I would like to have only 10.10.10.x addresses go through VPN. Route add?
Computer Networking No Comments

Best Answer:

Wayne: It really depends upon whether the VPN is hardware device(s) or software client and whether routing through the VPN is fixed or if you can change it (especially if logged into a Windows domain). If they set a default route to their network through the VPN, or Windows domain settings forced you to through a web proxy you might not have much choice.

I had a software VPN client that only routed IPs for our factory network, but the settings were configured by our factory and I could not add any route to be able to access our office computers or printers back through another hardware VPN as a subnet our our factory private WAN. But anything I accessed not on the factory, did not go through the VPN, it went out directly to the Internet.

Other answer:

Wayne:
Open a command prompt and type the command 'route' (without the quotes) to get a help list for the route command.

Type 'route PRINT' for a list of routes that are already set up on the computer.

You should be able to define a different route for 10.10.10.0/24 to use the VPN while other addresses go directly to the normal Internet service.

I hope this helps.

Adrian:
Usually it does not work that way. A VPN is basically a virtual network card, with all traffic and routing going through the VPN link to the other side. Windows, in general, cannot use two different network links to different networks at the same time.
There may be some third party software out there that can do specific routing, but it would have to be aware of what VPN software you are using.
Tracy L:
You CAN set your computer to use the local gateway vs the VPN… here is Microsoft's how to https://support.microsoft.com/en-us/kb/3… or this one may be easier to follow http://www.wintips.org/use-local-network…
In simple terms it is just a matter of telling the system to use the local gateway for internet traffic and the VPN for "local" traffic.

LEAVE A COMMENT