
re: Multiple listeners for 1 instance of Stunnel Ok, so in the Stunnel config file, would the proper way be: ... service = [service_1] [service_1] specific service_1 options service = [service_2] [service_2] specify service_2 options ... or would the proper way be: ... service = [service_1] service = [service_2] [service_1] specifiy service_1 options [service_2] specify service_2 options ... Or doesn't it mater? Also, do all the global stunnel options (eg: verify, CAFile, cert amd key) apply to all services? Lastly, can I have two services forwarding to the same connect port? On Mon, 14 Feb 2005 10:12:15 +0100 (CET), Jan Meijer <jan.meijer@surfnet.nl> wrote:
On Fri, 11 Feb 2005, Michael Zarlenga wrote:
It doesn't seem possible to start 1 instance of Stunnel for multiple accept ports.
Judging by the format of the Stunnel configuration file, it seems that I need to 1 instance of Stunnel for each port that accepts connections from the outside world.
Is this true?
No. Per listening port you define a service entry in the stunnel 4.x configuration file.
http://www.stunnel.org/faq/stunnel.html#servicelevel_options
You'll have one configfile, one stunnel-daemon instance and multiple listening ports.
Jan