From 87fcad3add4fd1ae8cf5be662cde12218fd8ef22 Mon Sep 17 00:00:00 2001 From: Viyurz Date: Mon, 8 Apr 2024 17:37:09 +0200 Subject: [PATCH] nftables: Increase blackhole threshold. --- roles/nftables/templates/nftables.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nftables/templates/nftables.conf b/roles/nftables/templates/nftables.conf index 4fd2205..142b170 100755 --- a/roles/nftables/templates/nftables.conf +++ b/roles/nftables/templates/nftables.conf @@ -40,10 +40,10 @@ table inet filter { # Prevent DDoS # Rate limiting meta nfproto ipv4 meter ratelimit4 \ - { ip saddr limit rate over 50/second burst 10 packets } \ + { ip saddr limit rate over 75/second burst 15 packets } \ add @blackhole_ipv4 { ip saddr } meta nfproto ipv6 meter ratelimit6 \ - { ip6 saddr limit rate over 50/second burst 10 packets } \ + { ip6 saddr limit rate over 75/second burst 15 packets } \ add @blackhole_ipv6 { ip6 saddr } # Max concurrent connections meta nfproto ipv4 meter connlimit4 \