CC_ALLOW_FILTER while using Cloudflare
Posted: 15 Nov 2023, 21:24
I've seen a lot of threads related to using Cloudflare, but no answers :-( Hopefully this thread will be the exception!
I've always used CSF's CC_ALLOW_FILTER to block non-US IPs. But I started using Cloudflare in September, and now that all incoming IPs appear to come from Cloudflare I don't think that this is working.
I tried enabling CF_ENABLE, but nothing changed so I think there must be more to it than simply changing that to 1.
Any suggestions on getting CSF to block non-US IPs and bad bots while using Cloudflare?
I've always used CSF's CC_ALLOW_FILTER to block non-US IPs. But I started using Cloudflare in September, and now that all incoming IPs appear to come from Cloudflare I don't think that this is working.
I tried enabling CF_ENABLE, but nothing changed so I think there must be more to it than simply changing that to 1.
Any suggestions on getting CSF to block non-US IPs and bad bots while using Cloudflare?