Hi,
I'm having trouble using SNI with protocol=proxy. Stunnel seems to ignore protocol option defined in the 'children', for example now protocol will be ignored:
[https_default] accept = 443 connect = 10443 cert = a.crt key = a.key
[https_one] sni = https_default:one.org protocol = proxy connect = 10444 cert = one.crt key = one.key
On the other hand when defined on the 'default' resource, the connect option seems to be ignored:
[https_default] accept = 443 protocol = proxy connect = 10443 cert = a.crt key = a.key
[https_one] sni = https_default:one.org connect = 10444 ;; nope! still 10443 cert = one.crt key = one.key
Any suggestions?
Cheers, Marek