Hi,

On 11.03.2013 20:56, Maxime Ducharme wrote:
> Hello
>
> Is there any option like "mod_realip" in nginx but for haproxy ?
>
this could be done with
--
option forwardfor header X-Real-IP
--

> We have a situation where we could have haproxy behind a load balancer
> and would like to be able to use per-ip acl or rate limits. We need
> "src" to be same as the IP location in a header sent by the front load
> balancer
>
If haproxy sees the original IP and the service behind haproxy also
needs to the the original IP, you should use
"haproxy tproxy snat". Most of the tools cant cope with the Header
X-Real-IP or X-Forwarded-For.

> Thanks

cheers
thomas

Reply via email to