mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-07-11 01:53:05 +00:00
commit
a37ed388e7
1 changed files with 8 additions and 2 deletions
|
|
@ -15,5 +15,11 @@
|
|||
# - Blocking is per IP and NOT per service, but ideal as action against ssh password bruteforcing hosts
|
||||
|
||||
[Definition]
|
||||
actionban = ip route add blackhole <ip>
|
||||
actionunban = ip route del blackhole <ip>
|
||||
actionban = ip route add <type> <ip>
|
||||
actionunban = ip route del <type> <ip>
|
||||
|
||||
# Type of blocking
|
||||
#
|
||||
# Type can be blackhole, unreachable and prohibit. Unreachable and prohibit correspond to the ICMP reject messages.
|
||||
|
||||
type = blackhole
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue