[stunnel-users] logging real client IP in Apache

Guillermo Rodriguez Garcia guille.rodriguez at gmail.com
Fri Jul 7 01:36:31 CEST 2017

You are looking for the X-Forwarded-for HTTP header. This is not officially
supported by Stunnel but there are patches around for several versions.


El viernes, 7 de julio de 2017, Stoyan Stoyanov <stoyansbg at gmail.com>

> I have an Apache server serving only HTTP requests on port 80 and an
> stunnel daemon on the same server listening on port 443 and tunneling HTTPS
> requests to Apache. Is there a way for the client IP to be passed on to
> Apache so that I can capture and log that instead of the IP of stunnel,
> which in this case is Ability to add a variable to the HTTP
> header would be perfect, but any other suggestions to solve this problem
> are welcome.
> Thanks!
> Stoyan

Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20170707/e47e002a/attachment.html>

More information about the stunnel-users mailing list