With the release of Gravity Forms version 2.2, changes have been made to the IP displayed when a form entry is generated.
Previously, Gravity Forms would check for the X-Forwarded-For header, and use that IP. This would allow for proxied connections such as Cloudflare to report the user’s IP, instead of showing the IP of the server making the request (such as Cloudflare).
To more accurately report IP addresses, this functionality has been removed. Entries will now show the IP address of the server physically making the request.
Of course, this can cause issues for some sites that are behind a reverse proxy. To solve this problem, we’ve placed a hook that will allow the the X-Forwarded-For header to be used. It can be found at the following: