1# 2# Example SSL stunnel CLIENT configuration file. (you run stunnel on 3# this machine and point your vnc viewer to it, it goes to remote VNC 4# server via SSL) 5# 6# To use this file you will need to edit it. Then you will need 7# to manually start up stunnel using it. 8# (e.g. /path/to/stunnel stunnel-server.conf) 9# 10# This is just an example and is not used by the tools in this package. 11# It is here to show how to create outgoing SSL connections to remote 12# VNC servers when not using the tools in this package. 13# 14client = yes 15options = ALL 16RNDbytes = 2048 17RNDfile = bananarand.bin 18RNDoverwrite = yes 19# 20# Remote server certs could go here: 21# CApath = /path/to/.../crt-dir 22# CAfile = /path/to/.../foo.crt 23# verify = 2 24# My cert could go here: 25# cert = /path/to/.../my.pem 26# 27[vnc] 28# 29# Set to local listening port number (e.g. 5900 for vnc display 0): 30# 31accept = localhost:5900 32# 33# Set to remote host:port to connect to (e.g. far-away.east:5900): 34# (this is where the VNC server is. :0 -> port 5900, etc) 35# 36connect = HOST:PORT 37delay = no 38# 39# You could add additional ones going to other VNC servers: 40# [vnc2] 41# accept = localhost:5901 42# connect = HOST2:PORT2 43# etc ... 44