- Review and edit the scripts
- Run as root. Configure only one per OS because these scripts write to /etc/nftables.conf
- Make sure iptables is disabled, stopped, and flushed.
systemctl disable --now iptables
iptables --flush
- Make sure nftables is enabled and restart it.
systemctl enable nftables
systemctl restart nftables
- Confirm that the ruleset is active with
nft list ruleset