Add debian common role
This commit is contained in:
15
common-debian/templates/etc/fail2ban/action.d/route.conf.j2
Normal file
15
common-debian/templates/etc/fail2ban/action.d/route.conf.j2
Normal file
@ -0,0 +1,15 @@
|
||||
# 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
|
Reference in New Issue
Block a user