I am trying to use Stunnel to connect to a remote server through a proxy (I am using stunnel 4.56).
Here is my config file stunnel.conf
:
cert = stunnel.pem
key = stunnel.pem
[https]
accept = 127.0.0.1:556
protocolHost= 128.45.65.36:80
connect = 556.79.65.20:80
verify = 0
Each time I double-click on stunnel.exe
, all I get in the logs is :
2013.04.25 17:17:00 LOG5[3272:8956]: Reading configuration from file stunnel.conf
2013.04.25 17:17:00 LOG5[3272:8956]: FIPS mode is enabled
2013.04.25 17:17:00 LOG5[3272:8956]: Configuration successful
Someone knows what is the problem? I expect at least an error saying that he cannot connect but nothing here …
Best Answer
I finally managed to make it work. I now have the following
stunnel.conf
file:Basically I want to connect to a FIX server through a proxy. The connection is now made but it seems their server is not accepting my connection. I see this in the stunnel logs :
I think I might need to input a login and password. Someone knows how to do this with stunnel? I tried
protocolCredentials
but it does not work.