mirror of https://github.com/fail2ban/fail2ban
commit
a37ed388e7
|
@ -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…
Reference in New Issue