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 # NOTE: You MUST specify a cert = PEM file line for server mode. 10 # SSVNC or x11vnc can be used to create one if you like. 11 # 12 # This is just an example and is not used by the tools in this package. 13 # It is here in case you wanted to see how to add SSL support to any 14 # VNC server you have. 15 # 16 RNDbytes = 2048 17 RNDfile = bananarand.bin 18 RNDoverwrite = yes 19 # 20 # Remote client certs could go here: 21 # CApath = /path/to/.../crt-dir 22 # CAfile = /path/to/.../foo.crt 23 # verify = 2 24 # 25 # The server cert goes here (**IT MUST BE SPECIFIED IN SERVER MODE**): 26 # cert = /path/to/.../my.pem 27 # 28 [vnc] 29 # 30 # Set to local listening port number (e.g. 5901 for vnc display 1): 31 # so the remote viewers would connect to: yourmachine:1 32 # 33 accept = 5901 34 # 35 # Set to localhost:port to connect to VNC server on this same machine: 36 # (E.g. you run WinVNC on :0, preferably listening on localhost). 37 # 38 connect = localhost:5900 39