Running a website is not always smooth. Sometimes you'll notice weird traffic, bots, or even full-on attacks that slow everything down. If you're using Cloudflare, don't worry - you already have a few tools that can help.
In this guide, I'll show you how to:
What is Attack Mode?
Think of Attack Mode as a quick shield. When you turn it on, Cloudflare shows a short "checking your browser" page before people can enter your site.
Real visitors will get through in a few seconds. Bots and scripts usually fail the check.
It's not something you keep on all the time, but when your site is under heavy attack, it's a lifesaver.
What is WAF?
WAF stands for Web Application Firewall. Don't worry, it sounds more complicated than it is.
The WAF is like a filter. You get to set rules, and Cloudflare will block, allow, or challenge traffic based on those rules.
For example, you can:
It gives you more control compared to just switching on Attack Mode.
How to Enable Attack Mode?
Here’s how you turn it on:
That’s it. From that moment, your site gets the extra protection.
How to Add WAF Rules?
Now let’s talk about custom firewall rules.
6. Choose an action (Block or Challenge).
7. Save the rule.
The rule will start working right away.
A Few Tips
Final Words
Cloudflare gives you simple but powerful tools to protect your site. Attack Mode is your “emergency button,” while WAF is your “custom filter.” If you know how to use both, you’ll be ready the next time someone tries to bring your site down.
No comments yet. Be the first to comment!
Leave a Comment