
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 -- Peter Pentchev roam@{ringlet.net,debian.org,FreeBSD.org} pp@storpool.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13