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.