Simple fail2ban configuration
One of the simplest and most effective ways to protect your server against such malicious traffic is to automatically block any IP address that repeatedly generates 404 errors within a short period of time.
One of the simplest and most effective ways to protect your server against such malicious traffic is to automatically block any IP address that repeatedly generates 404 errors within a short period of time.