Answer the question
In order to leave comments, you need to log in
What advantages does nftables provide over iptables?
I haven’t set up Linux for a long time, but then I had to get into the console. I found that instead of the usual iptables, people are now actively using nftables. The Internet writes mainly that it is easier to use in terms of syntax.
What are the advantages of the new utility besides syntactic sugar and combining utilities like xtables into one? Maybe she is somehow more productive there (someone measured it) or does she have any uber features there? Or is it another construction like ufw, shorewall, etc. for those who have not mastered the classic utility?
Answer the question
In order to leave comments, you need to log in
The new syntax is not required to be learned, it is compatible with the iptables syntax.
The main feature is that the rules are executed in the eBPF bytecode interpreter built into the Linux kernel, at a low level and quickly.
The main problem is not to accidentally configure both firewalls (both netfilter and nft).
Check what is possible sudo iptables-legacy -S
and sudo iptables-nft -S
accordingly.
If you really want to, you can replace the symlink (if we are talking about Debian) and continue using netfilter instead of nft.
Or is it another construction like ufw, shorewall, etc. for those who have not mastered the classic utility?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question