nftables

Userspace tools for managing Linux Netfilter tables firewall rules

brewmacoslinux
Try with needOr install directly
Source

About

Netfilter tables userspace tools

Commands

nft

Examples

List all current firewall rules$ nft list ruleset
Add a rule to drop incoming traffic on port 22$ nft add rule inet filter input tcp dport 22 drop
Create a new table and chain for IPv4 filter$ nft 'add table ip my_table; add chain my_table my_chain { type filter hook input priority 0; }'