Title: Problems with ip detection
Last modified: December 24, 2021

---

# Problems with ip detection

 *  Resolved [john53](https://wordpress.org/support/users/john53/)
 * (@john53)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-ip-detection/)
 * HI
    When I go on the diagnostics page I see that in the connectivity section “
   IP(s) used by this server” is correct. It shows my correct origin and cloudflare
   ip addresses
 * But on the ip detection section REMOTE_ADDR, CF-Connecting-IP and X-Real-IP all
   show the same incorrect ip address which is a non allocated bogon address begining
   with 244.
 * X-Forwarded-For value is (not set)
 * Can you please let me know how to correct this problem?
 * Many thanks
 * John
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-with-ip-detection%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [wfphil](https://wordpress.org/support/users/wfphil/)
 * (@wfphil)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-ip-detection/#post-15193965)
 * Hi [@john53](https://wordpress.org/support/users/john53/)
 * The **_IP Detection_** section is for the detection of the correct IP addresses
   of all site visitors, including yourself.
 * For example, if Wordfence detects hackers and everyone else, including yourself,
   as coming from the same proxy IP address then when a hacker triggers a time-based
   blocking rule then everyone will be blocked until the block expires or the proxy
   IP address changes.
 * We have a guide for setting up correct IP detection below:
 * [https://www.wordfence.com/help/dashboard/options/#get-ips](https://www.wordfence.com/help/dashboard/options/#get-ips)
 * If you need further assistance then I will need your Wordfence diagnostics report.
   Please go to the top of the “**_Diagnostics_**” tab on the Wordfence “**_Tools_**”
   page. There will be a “**_SEND REPORT BY EMAIL_**” button to send the diagnostics
   report. Enter **_wftest [at] wordfence [dot] com_** as the email and **_john53_**
   as the forum username please.
 * Once you have emailed me the diagnostics report can you reply here to let me 
   know that it has been sent. This is important in the unlikely event that your
   installation of WordPress is having an issue with sending mail.
 *  Thread Starter [john53](https://wordpress.org/support/users/john53/)
 * (@john53)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-ip-detection/#post-15194147)
 * Hi
    Thank you very much for your help.
 * I have emailed the report.
 * Best regards
 * John
 *  Thread Starter [john53](https://wordpress.org/support/users/john53/)
 * (@john53)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-ip-detection/#post-15196276)
 * Hi
    Its OK now thank you I found the problem.
 * On the cloudflare psuedo ipv4 setting was set to overwrite headers instead of
   off.
 * It was generating ip numbers to use for ipv6 ap addresses.
 * All the best for christmas and new year
 * Best regards
 * John
 *  Plugin Support [wfphil](https://wordpress.org/support/users/wfphil/)
 * (@wfphil)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-ip-detection/#post-15197765)
 * Hi [@john53](https://wordpress.org/support/users/john53/)
 * Thank you for the update.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems with ip detection’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [wfphil](https://wordpress.org/support/users/wfphil/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/problems-with-ip-detection/#post-15197765)
 * Status: resolved