On Wed, Jul 17, 2019 at 06:20:35AM +0000, MESSINGSCHLAGER Andreas wrote:
Is it possible to run stunnel in the server-mode und in the client-mode on the same server?
In short, yes.
The stunnel configuration file has some global settings and then one or more service sections. Each service section defines one tunnel that this instance of stunnel will manage. You may define several tunnels in client mode, several tunnels in server mode, or mix them - it does not matter as long as each service (tunnel) is defined in a way that does not conflict with the others: mostly they may not listen on the same address and port.
Hope that helps; play around a little bit with the stunnel.conf file and, if you have any further questions, feel free to ask.
G'luck, Peter