Published on

Netfilter

Authors

Old iptables backend and new nftables backend a

Configuring tables
https://wiki.nftables.org/wiki-nftables/index.php/Configuring_tables

List all rules
nft list ruleset
Reset all rules
nft flush ruleset
Delete some table
nft delete table ip ip_filter

Rule sets can be annonymouse and named
https://wiki.nftables.org/wiki-nftables/index.php/Sets

example usage golang lib from google for managing nft backend
https://tomdnetto.net/post/advanced_nftables_with_go

todo

  • how use netfilter without nftables backend?
  • how use eBPF for firewall without netfilter?