Это старая версия документа!
yum install fail2ban systemctl enable fail2ban
systemctl status iptables.service systemctl status firewalld.service
Конфиги применяются по порядку:
/etc/fail2ban/jail.local
[DEFAULT] maxretry = 2 destemail = root@localhost [sshd] enabled = true
systemctl restart fail2ban
fail2ban-client status fail2ban-client status sshd