Interview Prep/Networking/NAT, Firewalls & VPN

What is the difference between iptables and nftables?

IntermediateConceptNAT, Firewalls & VPN
Answer

nftables is the successor framework in the Linux kernel: one tool (nft), one ruleset language, sets and maps for efficient large rule lists, atomic rule replacement, and better performance. iptables on current distributions is often iptables-nft, a compatibility layer on top of nftables.

nft list ruleset
iptables --version     # (nf_tables) means the nft backend
All Networking questions Roadmap: Networking for DevOps

More on NAT, Firewalls & VPN