Windows – How to use a Network adapter only for a specific Connection on Win7

connectioninternet connectionnetwork-adapternetworkingwindows 7

I've got several network adapter in my PC (from LAN, WLAN, VPN etc…) and what I want to accomplish is that some specific adresses use the VPN adapter, while all others use eiter LAN or WLAN.
(So for example http://win-server/ is using VPN, while www.google still uses LAN connection.)

I've want to solve this with the Windows settings and not the VPN settings to make sure I can do it with every VPN-Provider.

Thank You

Best Answer

you need to add it to the routing table...

C:\> route add 192.168.1.0 mask 255.255.255.0 192.168.1.1 metric 1 if 2
                                ^ netmask                   interface ^
C:\> route add 10.0.0.0 mask 255.0.0.0 10.0.0.1 metric 2 if 1
               ^ destination           ^gateway        ^ metric

etc etc...

Related Question