Hello,

I have a windows machine running as a stunnel client that establishes a session but then, when launching an SSH session to my loopback crashes.  Putty reports that the "Server unexpectedly closed the network connection." Here are the logs:

2016.08.30 16:06:08 LOG5[main]: Reading configuration from file stunnel.conf
2016.08.30 16:06:08 LOG5[main]: UTF-8 byte order mark detected
2016.08.30 16:06:08 LOG5[main]: FIPS mode disabled
2016.08.30 16:06:08 LOG4[main]: Service [squid] needs authentication to prevent MITM attacks
2016.08.30 16:06:08 LOG5[main]: Configuration successful
2016.08.30 16:06:17 LOG5[2]: Service [squid] accepted connection from 127.0.0.1:55791
2016.08.30 16:06:17 LOG5[2]: s_connect: connected 10.5.8.74:8888
2016.08.30 16:06:17 LOG5[2]: Service [squid] connected remote server from 10.5.8.69:55792
2016.08.30 16:06:17 LOG5[2]: Connection closed: 28 byte(s) sent to SSL, 0 byte(s) sent to socket

Here is the server-side stunnel.conf:
sslVersion = all
options = NO_SSLv2
client = no
cert = /etc/stunnel/server.pem
pid = /var/run/stunnel.pid
output = /var/log/stunnel
[squid]
accept = 8888
connect = 127.0.0.1:3128
cert = /etc/stunnel/stunnel.pem
[openvpn]
client = no
accept = 993
connect = 34567

Here is the client side (Windows 7):

cert = stunnel.pem
client = yes
[squid]
accept = 127.0.0.1:8080
connect = 10.5.8.74:8443

I seem to be negotiating all of the appropriate keys, openvpn and squid3 are verified running, and have iptables configured, so I am not sure what I am missing.  Can anyone assist?

Thanks in advance!
Mike