#  Global options
cert            = /etc/ssl/stunnel/stunnel.pem
ciphers         = ALL:!ADH:+RC4:@STRENGTH
debug           = 6
key             = /etc/ssl/stunnel/stunnel.pem
#chroot		= /var/tmp/stunnel
pid             = /var/tmp/stunnel/stunnelS.pid
RNDbytes        = 64
RNDfile         = /dev/random
RNDoverwrite    = yes
session         = 300 seconds
verify          = none

#  Service-level options

TIMEOUTbusy     = 300 seconds
TIMEOUTclose    = 60 seconds
TIMEOUTidle     = 43200 seconds

foreground	= yes
client		= no

[server]
connect		= 192.168.0.1:8887
exec		= /usr/bin/nc
execargs	= nc 192.168.0.1 31337
#pty		= yes
#connect		= 192.168.0.1:8887

