Kingsfordweg 151, 1043GR Amsterdam, The Netherlands ● 24/7 support — support@novogara.com
Knowledge base

nftables and iptables

nftables is the successor to iptables on Linux. If you know one you can learn the other quickly, and the move brings a cleaner, faster way to express the same rules.

What nftables improves

It unifies what used to be separate tools for IPv4, IPv6 and more, handles sets and maps natively, and evaluates large rule sets more efficiently. A ruleset that was sprawling in the old syntax is usually shorter and clearer in the new one.

They do not mix well live

Running both frameworks against the same traffic at once leads to confusing, hard-to-predict behaviour. Pick one for a given server and convert fully rather than leaving half in each — and mind that touching the ruleset can briefly change what is allowed.

Migrate without a gap

Build and test the new ruleset before you cut over, and keep out-of-band access in case a rule locks you out. The firewall and stateful firewall guides cover the policy you are translating.


Still stuck? Mail support@novogara.com — an engineer answers, at any hour. Back to the knowledge base