Stunnel client configuration
Service name is the name of service that was put in square brackets in nf. You must put entries in /etc/hosts.allow to specify which machines should be allowed access to stunnel. The configure program should be able to determine if the libwrap library ( -lwrap) and headers are available in standard locations.
You can can compile in support for TCP wrappers when you compile stunnel itself. You do not need to use the tcpd binary to wrap stunnel (although you could). Stunnel configuration file needs at least the section name and accept option. Lets say we want to have stunnel listen on our machine on port 9999 to support a fictitious protocol called foobar.įirst we would add the following line to /etc/services: foobar 9999/tcp # The foobar service Daemon mode will not fork if you have stunnel compiled with threads.
Lets say we want to have stunnel listen on our machine on port 9999 to support a fictitious protocol called foobar. Inetd is the Unix 'super server' that allows you to launch a program (for example the telnet daemon) whenever a connection is established to a specified port.
#Stunnel client configuration windows#
(This does not apply to Windows machines)
#Stunnel client configuration how to#
This section gives you basic information on how to run the stunnel program in client and server mode.