Open wsky opened 9 years ago
why new version of stunnel never support xforwardfor build-in http://mailing.unix.stunnel-users.narkive.com/u67juOIb/stunnel-users-when-x-forwarded-for-for-stunnel use "transparent" instead, see https://www.stunnel.org/static/stunnel.html
transparent = none | source | destination | both (Unix only)
or use nginx. https://github.com/yaoweibin/nginx_tcp_proxy_module/issues
easy use stunnel
http://www.cnblogs.com/wsky/archive/2011/04/06/2007095.html
http://blog.heidt.biz/blog/2012/07/19/ssl-websocket-proxy-with-stunnel-howto/