Linux – Use OpenVPN on TCP 443 without it interfering with the web server

httpslinuxnetworkingopenvpntcp

I have a VPS running Debian with a LAMP install. It doesn't get much use so I'd like to install OpenVPN to use as my own personal VPN. However, I want to use TCP port 443 (to avoid firewalls).

How can I configure my server so the VPN won't interfere with SSL traffic to the web server on the same machine? Or will there even be a conflict?

I was planning on using OpenVPN road warrior installer to install OpenVPN.

Best Answer

Use sslh - Applicative protocol multiplexer http://www.rutschle.net/tech/sslh.shtml "Hence sslh acts as a protocol demultiplexer, or a switchboard. Its name comes from its original function to serve SSH and HTTPS on the same port."

(1st hit on google)

Related Question