From 9a249ef7b769fc8887d77342edd3d7775aea2657 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Tue, 26 Nov 2019 14:55:31 +0100 Subject: [PATCH] Created Fail2Ban config for SSH --- config/fail2ban/sshd.local | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/fail2ban/sshd.local diff --git a/config/fail2ban/sshd.local b/config/fail2ban/sshd.local new file mode 100644 index 0000000..fa86e4f --- /dev/null +++ b/config/fail2ban/sshd.local @@ -0,0 +1,6 @@ +[sshd] +enabled = true +port = 4242 +filter = sshd +logpath = /var/log/auth.log +maxretry = 5 \ No newline at end of file