; Protocol version (all, SSLv2, SSLv3, TLSv1) sslVersion = SSLv3 ; Usually the default of /var/lib/stunnel/ works on most *nix systems. ; ; If you are using Windows, Debian or Ubuntu, you need to comment out the ; next four lines by putting a ; in front of the line. Note that pid is ; created inside of the chroot jail chroot = /var/lib/stunnel/ setuid = nobody setgid = nogroup pid = /stunnel.pid ;Debian and Ubuntu users should uncomment the below four lines ;chroot = /var/lib/stunnel4/ ;setuid = stunnel4 ;setgid = stunnel4 ;pid = /stunnel4.pid ; Some performance tunings socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 ;compression = rle ; Use it for client mode client = yes ; Service-level configuration [esperirc] accept = 6697 connect = irc.esper.net:6697 [oftcirc] accept = 6698 connect = irc.oftc.net:9999