troubleshooting Question

Partially bypass route pushed by openvpn server

Avatar of letharion
letharionFlag for Sweden asked on
Linux DistributionsVPNLinux Networking
5 Comments2 Solutions866 ViewsLast Modified:
I have a VPS, which I'd like to hook up with OpenVPN to another server.
The connection works well, but once the vpn tunnel is established, I loose my ssh connection to the VPS.

If the ip I'm remoting the VPS from is w.x.y.z
I can
route add -net w.x.0.0/16 gw
prior to connecting leaves me in control of the server after the connection has been established, but then no traffic is sent over the vpn at all.

I would like to use the vpn for a number of ports, and "not the vpn" for a number of other ports.
What's the easiest/best way to solve this?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros