Create input chain with drop policy nftables

Base-chain default-deny; note: add accept rules first or you lock yourself out

nft add chain inet filter input '{ type filter hook input priority 0 ; policy drop ; }'
more nftables all 12 commands →