Switchover to nftables - are old iptables configurations non-functional?

Are there utilities that allow the continued use old “iptables” definitions and configurations under the new “nftables” framework?

Or do we need to do a full re-write in order to re-target for operations under the nftables framework?

1 Like

To my knowledge Ubuntu uses nftables by default. For instance in 25.10 the command:

sudo iptables -V

Returns:

iptables v1.8.11 (nf_tables)

So it’s using iptables-nft that translates the iptables commands into nftables commands.

man iptables-nft explains how this works.

Thank you for responding.

Is the inference that

  • there will never be a need to “rebuild” any customized scripts,       or

  • has the date when “iptables” based coding will no longer be “accepted” or “functional” been discussed … and is inevitable?