pvc-ansible/roles/base/templates/etc/fail2ban/action.d/route.conf.j2

16 lines
364 B
Plaintext
Raw Normal View History

2023-09-01 15:42:19 -04:00
# fail2ban action - route
[Definition]
actionban = ip route add <blocktype> <ip>
actionunban = ip route del <blocktype> <ip>
actioncheck =
actionstart =
actionstop =
[Init]
# Option: blocktype
# Note: Type can be blackhole, unreachable and prohibit. Unreachable and prohibit correspond to the ICMP reject messages.
# Values: STRING
blocktype = blackhole