Intall Fail2ban di Centos/RHEL 8
Step by step :
- Install fail2ban package
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
- Install fail2ban
# dnf install fail2ban
- Konfigurasi fail2ban # vi /etc/fail2ban/jail.local
[DEFAULT] ignoreip = 192.168.56.2/24 bantime = 21600 findtime = 300 maxretry = 3 banaction = iptables-multiport backend = systemd [sshd] enabled = true
- Start fail2ban
# systemctl start fail2ban # systemctl enable fail2ban # systemctl status fail2ban
Di tulis oleh: Nanda Anubis