The value of the environment variable GENIEACS_FORWARDED_HEADER should be an IP or list of IPs or CIDRs from which to rocognize the Forwarded HTTP header. That is, it should be the IP of your proxy server(s). Example:
I wanted to log the correct client IP as well. As of Apache 2.4.37 (RHEL/CentOS 8) the header is not natively supported. I did get it working by manually creating the needed Forwarded: header
Apache and GenieACS are running on the same host. GenieACS bound to 127.0.0.1 so will only ever see queries from 127.0.0.1
GENIEACS_FORWARDED_HEADER=127.0.0.1
I added the following to my apache config in my acs virtualhost
ProxyAddHeaders Off
RequestHeader set Forwarded expr=for=%{REMOTE_ADDR}