Re: Multi-Mode-Stunnel

Peter Pentchev <[email protected]> Wed, 17 Jul 2019 12:36:32 +0300
Newsgroups gmane.network.stunnel.user
Message-ID <[email protected]>
--===============5094038684117343101==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3"
Content-Disposition: inline


--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
Peter Pentchev  roam@{ringlet.net,debian.org,FreeBSD.org} [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

--r5Pyd7+fXNt84Ff3
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAl0u7BsACgkQZR7vsCUn
3xPYaw//c4PwPi6UmJI4mvT4LDKVmvGAaz4dos8jmQDx0rMPJCwfhKM7AzlkWNBr
kUH60mPqGDvIlaAvH9yzToBqedTQ2UPOPcJppnKky3qqF2auiDfRBcfqdTaC4lxD
BGnhNKMSVgeghnUxn6Rqu6YUmRSmQJGeSh0JtOyomq7fW9yzLWAtdsrY8rUefo61
j0lPDTd0sXDe6dvsyyzdAZIWglY1pVIbMGHKJwwkYKFTYfXFioQevgNjeFfTPa4I
m1JzvU1i5o6xv0KGlMmCsno46rkzt1iIXuJeU8cRjkGDDNGnSI+JivrQ5Ta4jv6/
UYrVrkbPlMRC3c1RQf/6uvzjBluYyKVrvfTdfC0nm2FvWY1kouigs3FvVGl8sS2c
vjenoCKVpiMiUDLGVMF4zAHJl4sF0nXlhWKgBGGo2lmhZA9l3mFys4cPaTobu1Vr
8Y5r2wbGpuuIlFQWB+KyzCgTQQLGumNXA9ifx9RwwNnQ2sx4lskbWV2xBzxOmWFJ
QvBkv8bh71vLNne3yBNISrWLT4Ru5oMZzQ1Kmnb8pETltmDQy//8afOldlLG6Gvk
/Nxv5mZsMtAye6+4QkF2Le6P2gvXbUXGJ+vGuF+1hzQrcDe46jK1oQxmUqhu6hwA
z8YtU46+fdmsyc1g2EftyT88Ski3kyj0vZ2FMCof7yxo77kOfyI=
=lf5K
-----END PGP SIGNATURE-----

--r5Pyd7+fXNt84Ff3--

--===============5094038684117343101==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

--===============5094038684117343101==--