stunnel: creating ssl tunnel through proxy
I was using stunnel to create ssl connection in one of the experimental work. It worked great in normal network setup but failed when there is a proxy setting.
After searching for some time in Google I used a patch which I could find in stunnel home page, since patch was for older version of the code I used its respective source version and applied the patch and tried to use it no help - it failed. I did all kind of proxy configuration in proxy server no change in the result.
Since proxy support nothing to do with platform since it works over HTTP. Did some more study in the internet for ssl connection through proxy using stunnel and found following link
http://mirt.net/pipermail/stunnel-users/2009-February/002291.html
this states that the latest stunnel version has rewritten the proxy patch and no need to apply any patch, the important thing is the configuration key value entry has been changed.
If you need to support ssl connection through proxy using tunnel then add following entry in the con file
protocol=connect
protocolHost=Proxy IP:proxy port
protocolPassword=password to proxy server
protocolUsername=user name for proxy server
I tried with proxy with ought authentication in Mac OS X 10.6 which works grate, need to check with authentication still looking for the setup to do it.
Thanks for Michal Trojnara posting this detail and his work. If any one is looking for ssl connection through proxy using stunnel no need to apply any patch to do this - proxy is already supported in stunnel.



0 Comments:
Post a Comment
<< Home