From fea9ee54cb9cbaa727bf692c227fe389c49c6551 Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Thu, 6 Aug 2026 12:56:47 +0200 Subject: add fail2ban --- etc.bash | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc.bash') diff --git a/etc.bash b/etc.bash index fcd99a0..80a9310 100755 --- a/etc.bash +++ b/etc.bash @@ -25,6 +25,10 @@ sudo ufw logging low sudo ufw enable sudo systemctl enable --now ufw +# fail2ban +sudo cp ./etc/fail2ban/sshd.local /etc/fail2ban +sudo systemctl enable --now fail2ban + # fs trim sudo systemctl enable --now fstrim.timer -- cgit