Thanks, this worked (HTTP_X_FORWARDED_FOR)
Was there a resolution to this? I am having the exact same problem, all addresses point to localhost and yes, using Varnish and have a proxy set up: Apache :443 -> Varnish: 8080 -> Apache: 8181.
“Logged In Users” tab shows all localhost.