added optimization suggested by nft -c -o -f nftables.conf

This commit is contained in:
celso 2024-12-13 02:45:55 -03:00
parent a4bad496d3
commit 186bab8f76
1 changed files with 1 additions and 2 deletions

View File

@ -24,8 +24,7 @@ table ip filter {
chain in {
type filter hook input priority filter; policy drop;
ct state invalid drop;
ct state related,established accept;
ct state vmap { invalid : drop, related : accept, established : accept };
iifname "lo" accept;
tcp dport @allowed_tcp_ports accept;
udp dport @allowed_udp_ports_in accept;