• Resolved Ahmad

    (@muzaffarab)


    On some IPs the site is being blocked. Sometimes it opens and then after some time again same.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @muzaffarab,

    I’m wondering if there’s perhaps an issue with IP detection on your site that means a block for one user is resulting in everybody being blocked for a certain amount of time. Can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence > Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    NOTE: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email

    Thanks,

    Peter.

    Plugin Support wfpeter

    (@wfpeter)

    Hi @muzaffarab,

    I’ve not received a diagnostic linked to your username but I’ll provide a little more information for you if this was indeed caused by IP detection issues.

    Take a look at Wordfence > Dashboard > Global Options > General Wordfence Options > How does Wordfence get IPs and cycle through the options there until it displays your current IP address as seen on https://whatsmyip.com/. That will be the setting you need to use going forward, so click the SAVE button once you’re done.

    There are some further explanations of IP detection and which option to select if your site is using Cloudflare here: https://www.wordfence.com/help/dashboard/options/

    Thanks again,

    Peter.

    Thread Starter Ahmad

    (@muzaffarab)

    The steps has been followed.

    Thread Starter Ahmad

    (@muzaffarab)

    Still, the problem persists. Many people are not able to access this site. I’ve shared the diagnostic report as told. Please look into it.

    Plugin Support wfpeter

    (@wfpeter)

    Hi @muzaffarab, thanks for getting back to me.

    There don’t seem to be any connectivity issues from your site, to our servers, and back again. You’re also correctly using the “CF-Connecting-IP” header to detect IPs that seems to be working as intended as that value appears differently to the other headers that can be chosen. There shouldn’t be further issues regarding IP blocks or multiple visitors being blocked under these cirumstances as we’ve seen this work with other Cloudflare installations.

    It could be worth double-checking your Cloudflare whitelist allows your site IP and our IPs, but I don’t expect this to be part of the issue:

    • Login to Cloudflare
    • Go to “Firewall”
    • Click the “Firewall Rules” tab
    • Click “Create a Firewall rule”
    • Name the rule under “Rule Name”
    • Set the “Field” under “When incoming requests match…” to “IP Address”
    • Enter your site’s IP address under “Value”
    • At the bottom, under “Then…Choose an action” change “Block” to “Allow”
    • Click “Deploy

    You can discover your site’s IP in Wordfence > Tools > Diagnostics > Connectivity > IP(s) used by this server. Our IPs, should you also need to add those using the process above, are available at: https://www.wordfence.com/help/advanced/#servers-and-ip-range

    Are you still seeing the behavior described in your original message? If you can test across multiple devices with different external IPs (such as a PC/laptop on wifi and then a mobile device on mobile data) and your site reports the same IP for both, you may need to contact your host to ensure they’re sending visitor IPs correctly to the “CF-Connecting-IP” header.

    Thanks,

    Peter.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘On some IPs site doesn’t open’ is closed to new replies.