Preparation for fail2ban script

This commit is contained in:
2019-12-12 20:58:06 +01:00
parent 6cfcee6d20
commit 790ba88d7d
6 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
[ip-blacklist]
enabled = true
banaction = iptables-allports
port = anyport
filter = ip-blacklist
logpath = /etc/fail2ban/ip.blacklist
maxretry = 0
#findtime = 15552000
findtime = 600
# infinite ban
#bantime = -1
# 1 day ban
#bantime = 86400
# 2 day ban
bantime = 172800
# 10 minute ban
#bantime = 600