Hey guys,

I'm currently experimenting with stunnel (http://www.stunnel.org).  The 
build,installation, and configuration went well.  But it doesn't quite work.

Here's the network diagram:
192.168.1.2 (client) <--- [ stunnel/ssl ] ---> 192.168.0.1 (server)

Below are the commands I executed:

Server:
./stunnel -c stunnel.pem -f -d 192.168.0.1:1234 -r localhost:3128

Client:
./stunnel -c -f -d localhost:3128 -r 192.168.0.1:1234

The intent is to proxy, and ssl-tunnel the HTTP requests from the client to the SQUID 
instance in the server.  When I hit a site using a browser in the client machine, the 
client was able to estalish connection but the request didn't get to the SQUID proxy 
(no log generated in the access.log file.)  The connection eventually timed out with 
the following stunnel log messags:

Server:
2002.05.28 17:08:42 LOG5[16276:1026]: stunnel.pem connected from 192.168.1.2:33686
2002.05.28 17:09:13 LOG3[16276:1026]: SSL_connect: Peer suddenly disconnected

Client:
2002.05.28 18:22:50 LOG5[9709:4098]: 192.168.0.1.1234 connected from 127.0.0.1:33691
2002.05.28 18:23:21 LOG3[9709:4098]: SSL_connect: Peer suddenly disconnected

Does anybody know what I did wrong?  

BTW client, and server have different openssl version, 0.9.6-3, and 0.9.6b-1 
respectively.  Also, ssh-tunneling (-L option) works between the two (2) machines.

I'd appreciate any information.

Thanks,

jeff --
-- 
Jeff Gutierrez
Pinoy Ako! May reklamo?

Mapua Online!
http://www.mapua.org
http://www.mapua.com
http://www.mapua.net

Intertainer, Entertainment On Demand
http://www.intertainer.tv


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to