added optimization suggested by nft -c -o -f nftables.conf
This commit is contained in:
parent
a4bad496d3
commit
186bab8f76
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue