summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/fail2ban
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/templates/etc/fail2ban')
-rw-r--r--roles/common/templates/etc/fail2ban/jail.local.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/common/templates/etc/fail2ban/jail.local.j2 b/roles/common/templates/etc/fail2ban/jail.local.j2
index 415236f..1b157b1 100644
--- a/roles/common/templates/etc/fail2ban/jail.local.j2
+++ b/roles/common/templates/etc/fail2ban/jail.local.j2
@@ -45,9 +45,8 @@ enabled = true
# pam-generic filter can be customized to monitor specific subset of 'tty's
filter = pam-generic
# port actually must be irrelevant but lets leave it all for some possible uses
-port = all
-banaction = iptables-allports
port = anyport
+banaction = iptables-allports
logpath = /var/log/auth.log
maxretry = 6