I know that STunnel can be set up as either server or client with the "client = no" or "client = yes" lines in the config file. Is there a way for a machine to be BOTH a server and client?
One machine being server AND client with STunnel
3.6k views Asked by Eddie At
4
There are 4 answers
0
On
As /etc/stunnel/README
file says,
"Files found under the /etc/stunnel directory that end with .conf are used by stunnel4 service as configuration files, and each will be used to start a daemon process setting up a tunnel with the given configuration..."
I assume you can keep 2 separate config files there: one for server and another one for client. Than you'll have 2 daemons started.
You can find config file examples in a file /usr/share/doc/stunnel4/examples/stunnel.conf-sample
You can specify the configuration file path on the command line, see
stunnel(8)
.