https://ixnfo.com/fail2ban.html
Установка и настройка Fail2ban