I installed ufw
and enabled it using
sudo ufw enable
and it said
Firewall is active and enabled on system startup
I ran
sudo ufw status verbose
and got
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
However, after computer restart, I check status and I get
Status: inactive
Just out of curiosity, I also installed gufw
and performed the above steps using the GUI. The result is the same: the firewall does not enable automatically on system startup.
How can I ensure that ufw
enables automatically on startup?