summaryrefslogtreecommitdiff
path: root/etc.bash
diff options
context:
space:
mode:
Diffstat (limited to 'etc.bash')
-rwxr-xr-xetc.bash4
1 files changed, 4 insertions, 0 deletions
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