Can sslh tell the difference between OpenVPN traffic and HTTPS traffic efter they have both been through STunnel? Like this:
.---------. .------.HTTP/TCP.-------------.
-->| stunnel |---->| sslh |------->| HTTP server |
'---------' '------'| '-------------'
| .----------------.
'------>| OpenVPN server |
OpenVPN/TCP'----------------'
I can only see this working if STunnel essentially separates the two itself before passing them on. Or is that it's purpose? Does it only encrypt the traffic on it's way out (and decrypt if it came from a STunnel client) or does the traffic stay wrapped in that extra layer of TLS even after coming through? Thanks.