Ubuntu Firewall: How to Check Status, Disable, and Enable

Check current status:

ufw status

Note: inactive means not active, i.e., the firewall is disabled.

Disable the firewall:

ufw disable

Enable the firewall:

ufw enable

Leave a Comment

Your email address will not be published.