Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

One machine being server AND client with STunnel

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?

like image 339
Eddie Avatar asked Feb 05 '11 23:02

Eddie


1 Answers

It is much easier you can simply You just have to set client=no under the [] (service) where stunnel works as a server and client=yes otherwise. You should also put service specific parameters like certificates where they belong.

Something like:

[server1]
..
client=no

[client1]
..
client=yes
like image 55
eldad hadas Avatar answered Sep 26 '22 01:09

eldad hadas