How to block IP addresses and whole countries on Cloudflare
The article explains how Cloudflare users can block IP addresses or entire countries from accessing their websites using the Security Settings panel. It covers both manual IP blocking and region-based blocking via the firewall dashboard, providing a step-by-step guide for each method.
Background
Cloudflare is a major content-delivery network (CDN) and security company that sits between website visitors and the servers hosting the site — it acts as a reverse proxy, meaning traffic passes through Cloudflare before reaching the origin server. This gives site owners tools to filter traffic before it arrives.