HTTP_X_FORWARDED_FOR 18.104.22.168, 10.251.26.175
I’ve observed that some (not most) of the logged visits actually show the correct address. Perhaps piwik could just ignore any 10., 192. and 172.* IPs in the HTTP_X_FORWARDED_FOR header?
We have other PHP software under different Apache vhosts under the same infrastructure and that pulls the correct IPs - as do the Apache logs where we’ve explicitly logged the left-most IP in that header.
I can dig into the piwik code and debug if you give me a pointer where to look…