Getting correct address from client when server is behind a load balancer

We have several Perspective servers setup behind an F5 Load Balancer. It’s working great, but one side affect I didn’t anticipate was the fact that in the Perspective Session status page all the Addresses of the clients show as the IP address of said load balalncer. I tried turning on Use Proxy Forward Headers, even though I was sure it wouldn’t help, and it didn’t. Wondering if anyone using load balancer has experienced this and if there is some setting were missing.

Thanks.

Enabling this setting in Ignition has to be paired with configuring your proxy server / load balancer to include the "X-Forwarded-For" header as well.

1 Like

I tried enabling this option as well and it didn’t work. I made sure I have header_up X-Forwarded-For {remote} set on Caddy, but still the site returns error 400. I am on 8.1.45.

Error log showed this,
image
so I removed the header_up X-Forwarded-Port {server_port} line and the site comes back online with the “Use Proxy Forward Headers” enabled…however, I still don’t get the client’s IP address.