[stunnel-users] Real address of client

Alexander Lazic al-stunnel at none.at
Sun Sep 3 22:36:55 CEST 2006


Hi,

On Son 03.09.2006 14:30, Gonzalo Diethelm wrote:
>
>stunnel: stunnel 4.14 on i486-pc-linux-gnu PTHREAD+POLL+IPv6+LIBWRAP
>with OpenSSL 0.9.8a 11 Oct 2005
>apache: Apache/2.0.55

[snipp]

>Everything works perfectly, except for one minor detail: on the server,
>my PHP scripts do not have access to the real IP address of the client,
>and they always see this value as 127.0.0.1. I am aware the manual says
>that, if you use -l or -L, there will be an additional REMOTE_HOST
>environment variable with the desired IP address, but I am not sure how
>to make this work from a setup like mine, where the http server process
>is already running.
>
>Any help or hints are greatly appreciated. Best regards,

Sponsor Michal
http://stunnel.mirt.net/todo_sdf.html

or try

http://haproxy.1wt.eu/#down
=> X-Forwarded-For support for Stunnel

Regards

Alex



More information about the stunnel-users mailing list