Skip to content

Instantly share code, notes, and snippets.

@stackcoder
stackcoder / nftables.conf
Last active April 28, 2023 15:14
A paranoid's minimal nftable config for Debian
#!/usr/sbin/nft -f
flush ruleset
table inet filter {
chain input {
type filter hook input priority 0; policy drop;
iif lo accept comment "Accept any localhost traffic"