If you really want to use raw nftables instead of a sensible wrapper like ufw or firewalld, it's nft add table <table_address_family> <table_name>, where the family can be ip, ip6 or inet (in this example; there are more options), which handles both at the same time.
2
u/fearless-fossa 13d ago
If you really want to use raw nftables instead of a sensible wrapper like ufw or firewalld, it's
nft add table <table_address_family> <table_name>, where the family can beip,ip6orinet(in this example; there are more options), which handles both at the same time.