fail2ban
This commit is contained in:
1 parent
682d8d571c
commit
1782a9bf47
5 files changed
+46
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[DEFAULT]
|
||||
backend = systemd
|
||||
banaction = nftables-multiport
|
||||
banaction_allports = nftables-allports
|
||||
ignoreip = {{ (['127.0.0.1/8', '::1'] + fail2ban_ignoreip | default([])) | join(' ') }}
|
||||
bantime = {{ fail2ban_bantime | default('1h') }}
|
||||
bantime.increment = true
|
||||
bantime.maxtime = {{ fail2ban_bantime_max | default('1w') }}
|
||||
findtime = {{ fail2ban_findtime | default('10m') }}
|
||||
maxretry = {{ fail2ban_maxretry | default(5) }}
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
port = ssh
|
||||
Reference in new issue
Block a user