Personalization rules based on IP Geolocation might not work. The issue happens because clients use a load balancer or a proxy server. In this case, the IP address of the load balancer or the proxy server is used but not the user IP address.
To resolve the issue, upgrade Sitecore XP instance to Sitecore XP 10.1.2 or later.