ufw disable

Category: Security & Hardening

ufw disable

Turn the ufw firewall off completely

Stops ufw and unloads its kernel rules, leaving the system with no firewall protection. Only do this deliberately, for example when migrating to nftables. Re-enable with ufw enable, and note that ufw reset restores defaults instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.