ufw reset
Reset the firewall to its default state and disable it. More information: https://manned.org/ufw.
- Simulate resetting the firewall without making changes:
sudo ufw --dry-run reset
- Reset the firewall to its default state:
sudo ufw reset
- Force reset without asking for confirmation:
sudo ufw --force reset
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
