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
More on NAT, Firewalls & VPN
What is NAT and why is it used?BeginnerWhat is the difference between SNAT, DNAT and PAT?AdvancedHow does an AWS NAT gateway work, and what are its limits?AdvancedWhy is NAT gateway cost a common surprise and how do you reduce it?IntermediateWhat is conntrack and what happens when its table fills up?AdvancedWhat is the difference between a stateful and a stateless firewall?Beginner