Ask coding questions

← Back to all posts
How does Cloudflare Blocking Work

My website has been getting non-stop DDoSed for the past few days, so I've had to manually block some IPs. Unfortunately, blocked ip addresses are still being served the resources, so server bandwidth is being eaten up.

Cloudflare caching is able to mitigate that, but cache needs to be cleared if my site updates, and I don't want to be vulnerable to an attack and lose a few GB of bandwidth every time I update.

Are there any firewall rules to completely stop IPs from accessing the site, and/or any rules for auto-flagging/blocking threats since I don't want, and could not physically block all the attacker IPs.