Install the stunnel binary following package directions. William
suggests FireDaemon Lite
(http://www.firedaemon.com)
to start the stunnel daemon automatically. (Yes, it appears that
you need a program on Windows to put something in the equivalent
of /etc/rc.local.) I have my family double click the binary
when they want to reach home. stunnel.conf is:
client=yes
#foreground=yes
debug=4
output=log.txt
key=berferd.key
RNDfile=RNDfile
#verify=2
CAfile=rshare.pem
[pop3s]
accept=222.222.222.222:110
connect=(server host):995
[rshare139]
accept=222.222.222.222:139
connect=(server host):(stunnel port)
The directory also needs a key for the user (berferd.key)
and a certificate for the server host (rshare.pem). Setting
the debug level to 7 is useful to figure out what is going on.
A usual, some assembly is required.
This example also implements an SSL-based POP3 tunnel for this user.
Eudora likes it.