diff options
Diffstat (limited to 'roles/common/files/etc/fail2ban/action.d')
-rw-r--r-- | roles/common/files/etc/fail2ban/action.d/nftables-allports.local | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/common/files/etc/fail2ban/action.d/nftables-allports.local b/roles/common/files/etc/fail2ban/action.d/nftables-allports.local index 3c8c030..3b9ebc8 100644 --- a/roles/common/files/etc/fail2ban/action.d/nftables-allports.local +++ b/roles/common/files/etc/fail2ban/action.d/nftables-allports.local @@ -1,16 +1,16 @@ [Definition] # No need to create sets and rules, these are defined globally in nftables.conf actionstart = actionstop = actioncheck = # unbanning is taken care of by setting a timeout on the nft set already actionunban = [Init] # With banaction = *-allports there is no need for separate rule names -set_name = fail2ban -blocktype = drop +table = filter +addr_set = fail2ban [Init?family=inet6] -set_name = fail2ban6 +addr_set = fail2ban6 |