RE: Using a Whitlist to Redirect Users not on the Whitelist

2014-07-21 Thread JDzialo John
Hi Guys, I’m new to haproxy configurations and this may be a very sophomoric question but am hoping someone can give me some guidance. I have read through the documentation for haproxy 1.5.2 and haven’t seen a lot of info on using whitelist text files to allow traffic from specific

Using a Whitlist to Redirect Users not on the Whitelist

2014-07-17 Thread JDzialo John
Hi Guys, I am creating a whitelist of subnets allowed to access HAPROXY during maintenance. Basically I want to redirect everyone to our maintenance page other than users in the whitelisted file. Here is my config... frontend https-in bind *:443 ssl crt

Re: Using a Whitlist to Redirect Users not on the Whitelist

2014-07-17 Thread Jonathan Matthews
On 17 Jul 2014 18:15, JDzialo John jdzi...@edrnet.com wrote: I am creating a whitelist of subnets allowed to access HAPROXY during maintenance. Basically I want to redirect everyone to our maintenance page other than users in the whitelisted file. This is not working and is forwarding everyone

RE: Using a Whitlist to Redirect Users not on the Whitelist

2014-07-17 Thread JDzialo John
It was a method I found online without really understanding what X-Forwarded-For header does. Traffic does not pass through a reverse proxy before hitting HAProxy. It should be a direct hit from the client. Is there a header I can compare to our whitelist to reliably get all incoming