Can’t solve incorrect IP address detection
-
I’m having problems resolving IP address detection (I have worked through https://wpcerber.com/wordpress-ip-address-detection/)
The site runs through WP-Rocket caching and Cloudflare. The site is behind recverse proxy option is ticked.
Your IP address as reported by Cerber is the Cloudflare IP.
What is my IP address reports my actual IP address.
TOOLS>Diagnostic>Server Info tab reports
[HTTP_CF_CONNECTING_IP] => MY ACTUAL ADDRESS
[HTTP_X_FORWARDED_FOR] => Cloudflare address
[REMOTE_ADDR] => MY ACTUAL ADDRESS
[SERVER_ADDR] => an address in the range 10.168.0.0 – 10.168.255.255There is no [HTTP_X_REAL_IP] => Is this an example text string or what?
What is the key referred to?
From your step by step instructions I can’t work out what the string should be to add to the wp-config.php file as:
define(‘CERBER_IP_KEY’, ‘HTTP_X_REAL_IP’ );
I guess I just don’t have the requisite background knowledge to make sense of the instructions. Can you explain more simply please, David
- The topic ‘Can’t solve incorrect IP address detection’ is closed to new replies.