Skip to content

Create the Stunnel Configuration Files

Create the configuration file for both the client and the server.

More information regarding the configuration file can be found on the Stunnel website.

Sample client configuration file:

$ TYPE STUNNEL$ROOT:[ETC]STUNNEL.CONF

debug = 7
output = /stunnel$root/etc/debug.log
cert = /stunnel$root/etc/stunnel.pem
client=yes
;
; Change the "connect" value as appropriate for your environment
[DECNET_IP]
accept  = 2399
; connect address is for the remote/server node
connect = 10.10.10.10:2399

Sample server configuration file:

$ TYPE STUNNEL$ROOT:[ETC]STUNNEL.CONF

debug = 7
output = /stunnel$root/etc/debug.log
cert = /stunnel$root/etc/stunnel.pem
sslVersion = TLSv1
pid = /stunnel.pid
; socket = l:TCP_NODELAY=1
; socket = r:TCP_NODELAY=1
;
; Change the "accept" port number as appropriate
[DECNET_IP]
accept = 2399
connect = 399