0
votes
1answer
353 views

HAProxy in front of Varnish not setting X-FORWARDED-FOR

Until the last few days we had the following architecture: HAProxy -> 2 Backend servers Now we have: HAProxy -> Varnish -> 2 Backend servers Before, HAProxy was setting the "X-FORWARDED-FOR" header ...
5
votes
2answers
4k views

Overriding the X-Forwarded-For header in haproxy?

In my HAProxy load balancer, I have the following config chunks: defaults mode http log global option httplog clf option ...
0
votes
1answer
851 views

Haproxy Incoming X-Forwarded-For Header into Outgoing X-Forwarded-For

Is there any way that I can use Haproxy's ability to modify headers so that if the incoming connection has an X-Forwarded-For header for example I can then take the contents of this and add it into ...
1
vote
3answers
2k views

OpenSource (Layer 4) Load Balancer that can pass through original client IP?

I am setting up a web application which uses SSL for all requests. It needs to have room for scaling and also be highly available. It seems that the "recommended" way to handle this is to setup a pair ...
3
votes
1answer
2k views

mod_evasive behind HAPROXY

I have a couple of Apache 2 machines behind an HAPROXY setup, I tried to setup mod_evasive on those Apache machine while also using mod_rpaf to get the real X-FORWARDED client ip. For some reason, ...