[stunnel-users] Proxy support in configuration file?

Michal Trojnara Michal.Trojnara at mobi-com.net
Wed Nov 19 11:57:03 CET 2008


On Wed, 19 Nov 2008 10:46:09 +0100, "Reinier van der Gugten" <info at rgit.eu>
wrote:
> Is there proxy support for Stunnel, and if so, how do I specify the
> proxy server in the configuration file?
> 
> E.g. I want to connect to an external location at: Myserver.com:443 The
> proxy is at: CustomerProxy:8080 And my application runs at the customer
> talking to: localhost:1433 The proxy does not require authentication.

Your configuration should be:

[Myserver]
accept = localhost:1433
connect = CustomerProxy:8080
protocol = connect
protocolHost = Myserver.com:443

BTW: It's always a good idea to Read The Fine Manual at:
http://stunnel.mirt.net/static/stunnel.html

Best regards,
    Mike




More information about the stunnel-users mailing list