According to 21.10 release notes:
nftables is now the default backend for the firewall.
However, having installed Ubuntu 21.10, I can see I still have iptables (and ufw) installed by default:
m@m-VirtualBox:~$ whereis iptables
iptables: /usr/sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz
m@m-VirtualBox:~$ whereis ufw
ufw: /usr/sbin/ufw /usr/lib/ufw /etc/ufw /usr/share/ufw /usr/share/man/man8/ufw.8.gz
Why does this happen?
As far as I'm aware, ufw is a wrapper around iptables, not nftables.
Can I safely use these commands? Or should I take care to never type iptables or ufw in the terminal?