# 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