[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • 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 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
 
QlemoDeveloperCommented:
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
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

 
Russ SuterAuthor Commented:
This is just a Windows VPN. I was hoping to accomplish this without needing to alter the router/firewall config.
0
 
QlemoDeveloperCommented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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