diff --git a/roles/nftables/templates/nftables.conf b/roles/nftables/templates/nftables.conf index 142b170..0813621 100755 --- a/roles/nftables/templates/nftables.conf +++ b/roles/nftables/templates/nftables.conf @@ -41,15 +41,15 @@ table inet filter { # Rate limiting meta nfproto ipv4 meter ratelimit4 \ { ip saddr limit rate over 75/second burst 15 packets } \ - add @blackhole_ipv4 { ip saddr } + add @blackhole_ipv4 { ip saddr } counter meta nfproto ipv6 meter ratelimit6 \ { ip6 saddr limit rate over 75/second burst 15 packets } \ - add @blackhole_ipv6 { ip6 saddr } + add @blackhole_ipv6 { ip6 saddr } counter # Max concurrent connections meta nfproto ipv4 meter connlimit4 \ - { ip saddr ct count over 100 } add @blackhole_ipv4 { ip saddr } + { ip saddr ct count over 100 } add @blackhole_ipv4 { ip saddr } counter meta nfproto ipv6 meter connlimit6 \ - { ip6 saddr ct count over 100 } add @blackhole_ipv6 { ip6 saddr } + { ip6 saddr ct count over 100 } add @blackhole_ipv6 { ip6 saddr } counter # Allow ICMP meta l4proto icmp accept