Hi, I'm using stunnel 4.05 on Windows 2000 for both client and server. I have VNC working just fine over port 443. Now I want to stream audio from the server to the client over port 21 with stunnel and any streaming audio server. I can't get this to work.
I'm currently using Windows Media Encoder for streaming because it is simple and free, but I don't mind switching to SHOUTcast or something else.
This is the stunnel server configuration:
CAfile = CAcert.pem CApath = certificates cert = server.pem client = no verify = 3
[vnc] accept = 443 connect = 127.0.0.1:15351
[audiostream] accept = 21 connect = 127.0.0.1:80
On the client-side, I have this configuration:
CAfile = CAcert.pem CApath = certificates cert = client.pem client = yes verify = 3
[vnc] accept = 127.0.0.1:15351 connect = someurl.com:443
[audiostream] accept = 127.0.0.1:80 connect = someurl.com:21
VNC works fine but streaming audio does not. It doesn't matter if I change port 21 to something else; I get the same error. The output on the server-side stunnel console is:
2004.10.18 13:16:02 LOG5[2036:1732]: audiostream connected from xxx.xxx.xxx.xxx:59090
The output on the client-side stunnel console is:
2004.10.18 13:21:07 LOG5[1088:1300]: audiostream connected from 127.0.0.1:1467 2004.10.18 13:21:07 LOG3[1088:1300]: SSL_connect: Peer suddenly disconnected
stunnel -version on the server-side displays this info:
stunnel 4.05 on x86-pc-mingw32-gnu WIN32 with OpenSSL 0.9.7d 17 Mar 2004
Global options cert = stunnel.pem ciphers = ALL:!ADH:+RC4:@STRENGTH debug = 5 key = stunnel.pem RNDbytes = 64 RNDoverwrite = yes service = stunnel session = 300 seconds taskbar = yes verify = none
Service-level options TIMEOUTbusy = 300 seconds TIMEOUTclose = 60 seconds TIMEOUTidle = 43200 seconds
2004.10.18 20:47:05 LOG3[1316:2092]: Server is down
openssl version on the server-side displays this info:
OpenSSL 0.9.7d 17 Mar 2004
Anyone have ideas?
Thank you in advance for any advice, Eric Jung