Craftpick

Fail2ban

Bloque automatiquement les tentatives répétées (SSH, web, etc.).

Installer

apt update -y
apt install -y fail2ban

Activer

systemctl enable --now fail2ban
systemctl status fail2ban --no-pager

Voir l’état

fail2ban-client status

Tu peux ensuite activer/ajuster des jails selon tes services (sshd, nginx, etc.).

Retour