How to set these rules to avoid DDos attack

I want to set these rules:

  • if there are unsual traffic, limit down 5 access per second
  • if 1 IP is accessing multiple times in a short time, limit down 1 access per second
    Please suggest me how to write these rules to set.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.