summaryrefslogtreecommitdiffstats
path: root/roles/common/files/etc/fail2ban/action.d/nftables-allports.local
blob: 3b9ebc8a312563a6ac7d2f2bca8d380203595d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
table = filter
addr_set = fail2ban

[Init?family=inet6]
addr_set = fail2ban6