Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

first of all I'm a linux newbie and just rent my vps few days ago. I'm using this vps for ssh tunneling and web server (apache, php, etc).

Today I want to install openvpn but I'm bit confused that if I installed the openvpn can I still use ssh for tunneling?

Sometimes I may want to switch between them.

Thanks in advance.

share|improve this question
Yes you can have openvpn and ssh installed concurrently and have both working as tunnels. – Paul Jul 12 '13 at 13:52
Thank you paul.. Will try it. – June Jul 16 '13 at 0:31
Paul, please post your comment on the answer box so I can mark this resolved. – June Jul 16 '13 at 2:47
up vote 1 down vote accepted

OpenVPN and ssh use different ports to interact with clients, and use different methods for tunnelling traffic.

OpenVPN works at an IP level, and uses routing to direct specific network traffic into the tunnel. This can include all traffic.

ssh tunnelling works at a TCP port level. A port is opened on the client, and any traffic send to the local port gets tunnelled across the ssh session to the remote server.

In most cases, these two forms of tunnelling can coexist, without interfering with each other.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.