Solved

Force VPN connection to use a network adapter

Posted on 2016-10-14
6
126 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 95

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 70

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
Webinar June 1st - Attacking Ransomware  

The global cyberattack that corrupted hundreds of thousands of computer systems on May 12th had a face, name, & price tag that we’ve seen all too often in recent years: Ransomware. With the stakes – and costs – of a ransomware attack higher than ever, is your business prepared ?

 
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 70

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

739 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