Linux Command: ufw
Uncomplicated Firewall — simple frontend for iptables/nftables rules
Terminal — Firewall & Security
Command
$
ufw allow from 10.0.0.0/8 to any port 22 proto tcp && ufw enable
Output
Rules updated
Rules updated (v6)
Firewall is active and enabled on system startup
ufw wraps iptables/nftables with human-readable syntax. Essential commands: ufw status verbose, ufw allow <port>/tcp, ufw limit ssh (rate-limits brute force), ufw deny from <IP>. Always ufw allow ssh before enable on remote hosts!