summaryrefslogtreecommitdiff
blob: 86598a262efa441f75ef3e2c53b1dca984244551 (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
39
40
41
42
43
44
45
46
47
48
49
50
# location of pid file
pid = /var/run/stunnel.pid

# user to run as
setuid = stunnel
setgid = stunnel

# Authentication stuff
#verify = 2
# don't forget about c_rehash CApath
# it is located inside chroot jail:
#CApath = /certs
# or simply use CAfile instead:
#CAfile = /usr/etc/stunnel/certs.pem

# Some debugging stuff
#debug = 7
#output = stunnel.log

# Use it for client mode
#client = yes

# sample service-level configuration

#[pop3s]
#accept  = 995
#connect = 110

#[imaps]
#accept  = 993
#connect = 143

#[ssmtp]
#accept  = 465
#connect = 25

#[s1]
#accept  = 5000
#connect = mail.osw.pl:110
#delay = yes

#[s2]
#accept  = 5001
#connect = mail.osw.pl:25

#[https]
#accept  = 443
#connect = 80
#TIMEOUTclose = 0