Support » Plugin: Cerber Security, Antispam & Malware Scan » Can’t solve incorrect IP address detection

  • Resolved bestfrenchmortgage


    I’m having problems resolving IP address detection (I have worked through

    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_X_FORWARDED_FOR] => Cloudflare address
    [SERVER_ADDR] => an address in the range –

    There 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gioni



    Based on your environment you don’t need to check My site is behind a reverse proxy because the plugin takes addresses from [REMOTE_ADDR].

    Alternatively, you can add to wp-config.php the following definition


    Thanks Gioni, looks like the best advice is to uncheck the reverse IP box. Many thanks, Davide

    • This reply was modified 8 months, 1 week ago by  bestfrenchmortgage. Reason: tick as resolved
    Plugin Author Gioni


    Cheers! If you come across some issue, install the latest development release:

    Thanks Gioni, I have done this – you guys work fast the development version I downloaded within minutes of your update has already gone to 5.7.3!!!! Amazing.

    • This reply was modified 8 months, 1 week ago by  bestfrenchmortgage. Reason: miss typing
    Plugin Author Gioni


    If something goes wrong, we have to act fast. It’s all about taking responsibility and reputation.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t solve incorrect IP address detection’ is closed to new replies.