Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Partially bypass route pushed by openvpn server

Avatar of letharion
letharionFlag for Sweden asked on
Linux NetworkingVPNLinux Distributions
5 Comments1 Solution866 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?
Avatar of tty2
tty2Flag of Ukraine image

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

This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answers