Firewall
How to Install iptables on Debian 13 and 12 (and Keep Rules After Reboot)
Install iptables on Debian 13 (Trixie) or 12 (Bookworm), write a safe starter ruleset, apply it without locking yourself out of SSH, and make it survive reboots with iptables-persistent. No need to remove nftables.