ufw status

Category: Security & Hardening

ufw status

Show whether ufw is active and its rules

Prints Status active or inactive plus the current rule list in short form. For the default policies, logging level, and fuller rule detail, use ufw status verbose. If ufw is inactive, the firewall is not filtering anything.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.