ufw status
Show the status of Uncomplicated Firewall and its rules. More information: https://manned.org/ufw.
- Show whether the firewall is active and list the rules:
sudo ufw status
- Show rules with numbers (useful before deleting a rule by number):
sudo ufw status numbered
- Show a verbose status, including default policies and listening ports:
sudo ufw status verbose
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
