[stunnel-users] newbie config not running

fuzzy_4711 fuzzy_4711 at gmx.de
Thu Nov 1 23:11:51 CET 2007

Hello list.

I am new to stunnel and do have some problems to get it running.

The server is a WinXPSP2 behind a router. The router has port forwarding
enabled for port 9999 to the stunnel server (4.21). On the same box a
vnc server is running on port 5900 which I like to tunnel. Firewall is
opened. The netstat -a -n shows the server listening on the desired port

My server config looks like that:

cert = stunnel.pem
;key = stunnel.pem

; Some performance tunings
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

; Workaround for Eudora bug

; Authentication stuff
;verify = 2
; Don't forget to c_rehash CApath
;CApath = certs
; It's often easier to use CAfile
;CAfile = certs.pem
; Don't forget to c_rehash CRLpath
;CRLpath = crls
; Alternatively you can use CRLfile
;CRLfile = crls.pem

; Some debugging stuff useful for troubleshooting
;debug = 7
;output = stunnel.log

; Use it for client mode
;client = yes

accept  = 995
connect = 110

accept  = 993
connect = 143

accept  = 465
connect = 25

[VNC Server]
accept = 9999
connect = 5900

The client side is a linux box with config setting:
client = yes

[VNC Server]
accept = 5900
connect = 9999

I turned on debugging and stunnel.log seems to be okay - no error messages.

But I am not able to get an connection.

What am I doing wrong?


More information about the stunnel-users mailing list