<div dir="ltr"><div><div>I was hoping to avoid building from source, but if it's not supported I guess I'll have to do it.<br><br></div>Thanks,<br></div>Stoyan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 6, 2017 at 4:36 PM, Guillermo Rodriguez Garcia <span dir="ltr"><<a href="mailto:guille.rodriguez@gmail.com" target="_blank">guille.rodriguez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<div><br></div><div>Guillermo <div><div class="h5"><br><br>El viernes, 7 de julio de 2017, Stoyan Stoyanov <<a href="mailto:stoyansbg@gmail.com" target="_blank">stoyansbg@gmail.com</a>> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>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 127.0.0.1? Ability to add a variable to the HTTP header would be perfect, but any other suggestions to solve this problem are welcome.<br><br></div>Thanks!<br></div>Stoyan<br></div>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br>-- <br>Guillermo Rodriguez Garcia<br><a href="mailto:guille.rodriguez@gmail.com" target="_blank">guille.rodriguez@gmail.com</a><br>
</font></span></blockquote></div><br></div>