[stunnel-users] stunnel 4-15 through proxy server
Ingvar Tjøstheim
ingvar at isafold.com
Fri Aug 25 10:33:21 CEST 2006
Hello
I am on a network at work behind a firewall and a proxy server.
I can connect to my friends linux computer with putty using proxy configuration and port 443.
My friend set up his SSH server on port 443, of course.
Yesterday, back home, I installed the following on my Windows2000 computer:
Win32OpenSSL-v0.9.8b
stunnel ver 4-14
FreeProxy version 3.92
This is the stunnel config file for my home computer:
client=no
verify=0
[wow]
accept = 443
connect = 127.0.0.1:3456
TIMEOUTclose = 0
I set up my router to forward port 443 to this computer.
I also registered a DynDNS domain and set up a client to update it.
Then, still at home, I prepared another computer which I brought to work today.
I installed the following on an XP machine:
Win32OpenSSL-v0.9.8b
stunnel ver 4-14 (which I upgraded to 4.15 today)
SockScap_sc32r238
I set up SockScap to connect to 127.0.0.1 on port 2345 and used it to tunnel a program to the internet through my LAN and this Win2K computer.
This was working fine when I was at home.
My network at home has no proxy server, and I changed stunnel on my XP computer once at work to version 4-15.
Then I added the two protocol lines in the config file as you see below. This is the config file on my XP computer at work:
verify = 0
client = yes
[wow]
accept = 2345
protocol = connect
protocolHost = www-proxy.DOMAINNAME.no:80
connect = MYDOMAINNAME.dnsalias.com:443
TIMEOUTclose = 0
Now, the funny thing is that it doesn't work. I used to have a SSH server on my computer at home (which is not running now), and I could connect to
it from work. I know the setup could work if I just did things right. I know the FreeProxy and SockScap stuff works, cause it did at home. stunnel
and the network is the only difference.
Still I get these messages on the XP machine running stunnel as client at work when the SockScap program connects to it:
2006.08.25 10:02:29 LOG5[1280:2940]: stunnel 4.15 on x86-pc-mingw32-gnu with OpenSSL 0.9.7i 14 Oct 2005
2006.08.25 10:02:29 LOG5[1280:2940]: Threading:WIN32 SSL:ENGINE Sockets:SELECT,IPv6
2006.08.25 10:02:29 LOG5[1280:2156]: No limit detected for the number of clients
2006.08.25 10:02:59 LOG5[1280:664]: wow connected from 127.0.0.1:3723
2006.08.25 10:03:05 LOG5[1280:972]: wow connected from 127.0.0.1:3725
2006.08.25 10:03:09 LOG5[1280:664]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2006.08.25 10:03:15 LOG5[1280:972]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
...and it doesn't work.
The program I try using through the tunnel never manages to connect.
Anyone have a clue? Thank you very much!
More information about the stunnel-users
mailing list