[stunnel-users] Many services on the same port (VirtualHost)

Jeremie Le Hen jeremie at le-hen.org
Mon Nov 1 13:47:27 CET 2010

Hi Hugo,

On Sat, Oct 30, 2010 at 05:12:19PM +0200, Hugo wrote:
> Does anyone knows a way to make many services listening on the same port?
> I've got one stunnel4 server which allows me to crypt two http servers.
> The first service bind on port 465 and the second on 470.
> What I will is to let user access on the port 465 using 2 different
> ServerNames.

You have to use Server Name Indication, which is basically a "Host:"
equivalent header at the TLS level.

However, AFAIK, stunnel doesn't support this.

Jeremie Le Hen

Humans are born free and equal.  But some are more equal than others.

More information about the stunnel-users mailing list