Let's start with a clean snapshot of our Ubuntu virtual machine, and install the nftables package.
Now, let's take a look at the list of installed tables:
sudo apt install nftablessudo nft list tables
Hmmm... You didn't see any tables, did you? So, let's load some up.
If you look at the nftables.conf file in the /etc directory, you'll see the beginnings of a basic nft firewall configuration:
#!/usr/sbin/nft -fflush rulesettable inet filter { chain input { type filter hook input priority ...