Preparation for fail2ban script
This commit is contained in:
18
seqs/fail2ban/jail.d/ip-blacklist.conf
Normal file
18
seqs/fail2ban/jail.d/ip-blacklist.conf
Normal 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
|
Reference in New Issue
Block a user