• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 331
  • 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
 
JohnBusiness 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 KalmarHead of IT Security Division Commented:
yes, You need to create permament route for vpn server on specific LAN, and you need to add for this network gateway
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
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
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
Russ SuterAuthor Commented:
This is just a Windows VPN. I was hoping to accomplish this without needing to alter the router/firewall config.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

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