mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-07-11 10:03:03 +00:00
add example jail.conf for blocking through blackhole routes for ssh
This commit is contained in:
parent
f9b78ba927
commit
03433f79cd
1 changed files with 11 additions and 0 deletions
|
|
@ -101,6 +101,17 @@ action = hostsdeny
|
|||
ignoreregex = for myuser from
|
||||
logpath = /var/log/sshd.log
|
||||
|
||||
# Here we use blackhole routes for not requiring any additional kernel support
|
||||
# to store large volumes of banned IPs
|
||||
|
||||
[ssh-route]
|
||||
|
||||
enabled = false
|
||||
filter = sshd
|
||||
action = route
|
||||
logpath = /var/log/sshd.log
|
||||
maxretry = 5
|
||||
|
||||
# Here we use a combination of Netfilter/Iptables and IPsets
|
||||
# for storing large volumes of banned IPs
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue