ufw-status
Show the status of Uncomplicated Firewall and its rules. tldr-pages
On Linux
Linux
Show whether the firewall is active and list the rules
sudo ufw statusIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Show rules with numbers (useful before deleting a rule by number)
sudo ufw status numberedIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Show a verbose status, including default policies and listening ports
sudo ufw status verboseIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community