thanks your feedback. <br><br>Yes, we want to get the source-ip directly. <br>However, if we want to get real client ip from L7 layer, we need modify the backend configuration, in some case, we have no permission to modify the configuration of Web-server. <br>
<br>Is there other way to get client IP other than x-forward-for/x-real-ip? <br><br>thanks <br>George<br><br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 8:19 AM, Reinis Rozitis <span dir="ltr"><<a href="mailto:r@roze.lv">r@roze.lv</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">By tproxy you mean transparent proxying as in doing proxy requests from nginx while using clients IP?<br>
<br>
It is far more simple to use the Real IP module <a href="http://wiki.nginx.org/HttpRealIpModule" target="_blank">http://wiki.nginx.org/<u></u>HttpRealIpModule</a> ( pretty much all webservers (apache - mod_rpaf / lighttpd - mod_extforward etc) have such modules in one or another form ) rather than trying to achieve it on TCP level.<br>
<br>
And it is also straight forward to implement it in any other backend application.<br>
<br>
rr<br>
<br>
<br>
From: Geoge.Q<br>
Sent: Thursday, September 15, 2011 6:02 PM<br>
To: <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
Subject: nginx and tproxy<div><div></div><div class="h5"><br>
<br>
Hi all:<br>
<br>
<br>
Can we let both work together? Anyone can share his experience with us if we want to integrate them?<br>
<br>
thanks in advance<br>
<br>
george<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/<u></u>mailman/listinfo/nginx</a> <br>
______________________________<u></u>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/<u></u>mailman/listinfo/nginx</a></blockquote></div><br>