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