Deal with botnet attacks

Are there any solutions to deal with botnets that attack the site with several thousand IPs?
In several cases, I had to block access to more than 50 countries, but it still did not work.
What are the best rules for firewall to counter attacks?

1 Like