Solved

Force VPN connection to use a network adapter

Posted on 2016-10-14
6
68 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 92

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 68

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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 68

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now