From 810d4269058feb550083f6032ffa63af185f9a8d Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 6 Aug 2017 00:36:29 -0700 Subject: newer fail2ban style --- roles/common/templates/etc_fail2ban_jail.local.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/common') diff --git a/roles/common/templates/etc_fail2ban_jail.local.j2 b/roles/common/templates/etc_fail2ban_jail.local.j2 index 35c161c..57e4dc2 100644 --- a/roles/common/templates/etc_fail2ban_jail.local.j2 +++ b/roles/common/templates/etc_fail2ban_jail.local.j2 @@ -8,7 +8,7 @@ banaction = iptables-multiport action = %(action_)s # JAILS -[ssh] +[sshd] enabled = true maxretry = 8 @@ -16,7 +16,7 @@ maxretry = 8 enabled = true banaction = iptables-allports -[ssh-ddos] +[sshd-ddos] enabled = true [postfix] -- cgit v1.2.3