I hosted Matomo on premise server behind proxy and I also installed & enabled Geo IP 2 (PHP) to trace exact IP and location.
also I tried by doing below changes in config.ini file but not working for internal users.
proxy_client_headers = HTTP_X_FORWARDED_FOR
proxy_host_headers = HTTP_X_FORWARDED_HOST
proxy_client_headers = HTTP_CLIENT_IP
below added to don’t select country based on language select on system.
enable_language_to_country_guess = 0
But still I am getting Proxy IP range – like for example - 172.28.0.0 for every user who access site from internally from company network and receive location US or UK for everyone.
But if User access from outside company network means publicly ( Internet ) data ( IP & location ) fetched correctly. But only for inside proxy - company users data comes wrong. Please help