Solved

Force VPN connection to use a network adapter

Posted on 2016-10-14
6
84 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 93

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

832 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