aboutsummaryrefslogtreecommitdiff
path: root/stunnel/server.cfg
blob: 7772d54f09306323a9d7ad31fcdb9a93057d7f06 (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
; Lines preceded with a “;” are comments
; Empty lines are ignored
; For more options and details: see the manual (stunnel.html)

; File with certificate and private key
cert = YOUR_CERT_HERE.pem
key = YOUR_KEY_HERE.pem

; Log (1= minimal, 5=recommended, 7=all) and log file)
; Preceed with a “;” to disable logging
debug = 5
output = stunnel.log

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

; Data compression algorithm: zlib or rle
compression = zlib

; SSL bug options / NO SSL:v2 (SSLv3 and TLSv1 is enabled)
options = ALL
options = NO_SSLv2

[telnets]
accept = 0.0.0.0:992
connect = 127.0.0.1:1234
TIMEOUTclose = 0