Solved

Force VPN connection to use a network adapter

Posted on 2016-10-14
6
94 Views
Last Modified: 2016-10-17
I have a PC which has 2 network adapters on it. One of them is our main office network and is protected by a Cisco router/firewall that we can't configure (long story). In its current configuration it will not allow the VPN connection. The 2nd network adapter connects to a different network which goes through a SonicWall router/firewall that we CAN configure and it allows the VPN connection just fine. I have created a VPN connection which works fine when I disconnect the Cisco network cable but as soon as I reconnect it the VPN connection fails again. Is there a way to force the VPN connection to use a specific network adapter so the host machine can still be connected to both networks?

I'm using Windows 10
0
Comment
Question by:Russ Suter
6 Comments
 
LVL 94

Expert Comment

by:John Hurst
ID: 41844582
What VPN client are you using. Any one I have used will just use the lower Interface Metric in the network adapter setup.
0
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 41844709
yes, You need to create permament route for vpn server on specific LAN, and you need to add for this network gateway
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 41844912
What Istvan means is something like this:
With 192.168.1.1 being your SonicWall,
1.1.1.1 your VPN gateway to reach,
route add -p 1.1.1.1 192.168.1.1

Open in new window

Of course this requires to have a static IP for the VPN destination. You can use a less strict route for dynamic IPs, but might route unwanted traffic that way.
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 20

Author Comment

by:Russ Suter
ID: 41845837
This is just a Windows VPN. I was hoping to accomplish this without needing to alter the router/firewall config.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 41845851
This is without any change on the router side. You set that route on your VPN client PC, and that's it.
0
 
LVL 20

Author Closing Comment

by:Russ Suter
ID: 41846823
That worked like a charm. Thank you.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question