diff --git a/src/debian/debian_ts_nftables.conf b/src/debian/debian_ts_nftables.conf index 46b3b0d..3529a5c 100644 --- a/src/debian/debian_ts_nftables.conf +++ b/src/debian/debian_ts_nftables.conf @@ -26,7 +26,7 @@ table inet router { type filter hook input priority filter; policy drop; iif "lo" accept comment "defconf: accept traffic from loopback" ct state vmap { established : accept, related : accept } comment "defconf: handle inbound flows" - tcp flags syn / fin,syn,rst,ack counter jump syn_flood comment "defconf: rate limit TCP-SYN packets" + ct state new meta l4proto tcp counter jump syn_flood comment "defconf: rate limit new TCP connections" iifname "eth0" jump input_lan comment "defconf: handle LAN IPv4 / IPv6 input traffic" iifname "tailscale0" counter jump input_tailscale comment "tsconf: handle TS IPv4 / IPv6 input traffic" } @@ -54,8 +54,8 @@ table inet router { } chain syn_flood { - limit rate 200/second burst 100 packets return comment "defconf: accept SYN packets below rate-limit" - counter drop comment "defconf: drop excess packets" + limit rate 200/second burst 100 packets return comment "defconf: accept new TCP connections below rate-limit" + counter drop comment "defconf: drop excess new TCP connections" } chain input_lan {