1

Is there a way to host a SSL-tunneled (using stunnel) OpenVPN server and a regular Apache HTTPS server on the same server using HAProxy? It seems that by using stunnel, the format of the packets should all the way be the same. Is there any ways to make a difference between the two kinds of packets (which is not detectable by DPI) for the HAProxy to sort them out? I tried to use different domain names for the HTTPS server and the OpenVPN Server (though they point to the same IP address) but seems it doesn't work because OpenVPN does not use SNI.

Thanks a lot!