TuxToolbox
Security

Linux Firewall Generator

Select common services and generate UFW, nftables, or iptables rules.

Services

If you are connected remotely over SSH, make sure your SSH port is allowed before applying a restrictive firewall policy.

Rules