; Certificate/key is needed in server mode and optional in client mode cert = /opt/local/etc/stunnel/stunnel.pem pid = foreground = yes ; Protocol version (all, SSLv2, SSLv3, TLSv1) sslVersion = SSLv3 ; Some performance tunings socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 ;compression = rle [3000] accept = 127.0.0.1:443 connect = 127.0.0.1:3000