ufw Administrator’s Guide
ufw is the firewall used on all our Linux servers.
Learning how it works is extremely important for security, since having it disabled will give bots, bad actors and script kiddies free reign.
It lets you easily add, change or remove rules to allow or deny access from all or specific IP addresses to any specified ports.
Basic Commands⌗
Check status and rules⌗
status verbose allows you to see a numbered list of rules
ufw status
ufw status verbose
Enable⌗
ufw enable
Disable⌗
ufw disable
Help⌗
ufw help
Reload⌗
ufw reload
Advanced Commands (Editing Firewall Rules)⌗
Check out DigitalOcean’s guide
Read other posts