Hello, all. Have a question on UFW, which has me confused. When I first install and enable UFW via the command “sudo enable ufw” in a new Linux machine, I find out UFW remains enabled only for the duration of the current session, as, after a reboot, UFW returns to a disable status. I found out that by running the command “sudo systemctl enable ufw”, UFW remains enable persistently.
So, my confusion stems from why in the world would UFW does not remain persistently enabled by default after it has been explicitly enabled by the user. After all, if the user only wants it enabled temporarily, UFW can be easily disabled via a command, just as easily as it was enabled.
Thanks in advance for any help in understanding the idiosyncrasy behind this behavior.