1 # 2 # Example SSL stunnel SERVER configuration file. (e.g. for your VNC 3 # server on this same machine.) 4 # 5 # To use this file you may need to edit it. Then you will need 6 # to manually start up stunnel using it. 7 # (e.g. /path/to/stunnel stunnel-server.conf) 8 # 9 # This is just an example and is not used by the tools in this package. 10 # It is here in case you wanted to see how to add SSL support to any 11 # VNC server you have. 12 # 13 RNDbytes = 2048 14 RNDfile = bananarand.bin 15 RNDoverwrite = yes 16 # 17 # Remote client certs could go here: 18 # CApath = /path/to/.../crt-dir 19 # CAfile = /path/to/.../foo.crt 20 # verify = 2 21 # My server cert could go here: 22 # cert = /path/to/.../my.pem 23 # 24 [vnc] 25 # 26 # Set to local listening port number (e.g. 5901 for vnc display 1): 27 # so the remote viewers would connect to: yourmachine:1 28 # 29 accept = 5901 30 # 31 # Set to localhost:port to connect to VNC server on this same machine: 32 # (E.g. you run WinVNC on :0, preferably listening on localhost). 33 # 34 connect = localhost:5900 35