Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Force VPN connection to use a network adapter

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
Russ Suter
Asked:
Russ Suter
1 Solution
 
John HurstBusiness Consultant (Owner)Commented:
What VPN client are you using. Any one I have used will just use the lower Interface Metric in the network adapter setup.
0
 
Istvan KalmarCommented:
yes, You need to create permament route for vpn server on specific LAN, and you need to add for this network gateway
0
 
QlemoC++ DeveloperCommented:
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
Russ SuterAuthor Commented:
This is just a Windows VPN. I was hoping to accomplish this without needing to alter the router/firewall config.
0
 
QlemoC++ DeveloperCommented:
This is without any change on the router side. You set that route on your VPN client PC, and that's it.
0
 
Russ SuterAuthor Commented:
That worked like a charm. Thank you.
0

Featured Post

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now