DDos Protection warning message

How to add this type of protection page to our websites.

You’re going to annoy a lot of people if you do that, it should really only be used if you are under attack but you can either:

Set your security level to something high by going to Firewall -> Settings (in the top right) -> Security Level (High)

Or you can make a Firewall rule like this: