Scenario: I am on a remote server, and if I set up UFW incorrectly, then I will be locked out without chance for easy recovery. So I want to start ufw
and see if it works. If it doesn't, then I want to restart the server and have ufw
disabled. Note that the server mounts its file system via NFS, and if that gets blocked, the system is dead.
I tried:
systemctl start ufw
While systemctl status ufw
reports that it is active, ufw status
says:
Status: inactive
When I run ufw enable
, then UFW will be enabled on the next boot as well, which is exactly what I don't want.