Blocked country using CF firewall, do I need to do the same with Wordfence for it to be effective?

Hi all,

I’ve blocked a country using Cloudflare’s firewall, but I haven’t done so in Wordfence due to only having the free plan - does this mean the country won’t be blocked?

If you done it at Cloudflare, the request from that specific country couldn’t pass to the origin host/server and will not show in Wordfence events/activity log.

There is no need to do it at Wordfence again.

Make sure to correctly configure Wordfence to work with Cloudflare proxy to return the correct visitor IP address under the Global Options - > CF-Connecting-IP from the link below:

2 Likes

Thanks fritex,

I see this under Wordfence Global Options, is this what should be selected (it’s not the option marked as recommended)?

Use the Cloudflare “CF-Connecting-IP” HTTP header to get a visitor IP. Only use if you’re using Cloudflare.

Yes, correct.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.