Enabling UFW

Updated on 28 Mar 2022


We installed UFW in the previous step, so now we need to enable it. We could look at systemctl, and see that it is running.

sudo systemctl status ufw

And this looks good, however if we check the status of UFW itself, we’ll find a different story.

sudo ufw status

ufw enable / disable

To enable UFW, we use the enable command, and we can also double check by calling the status command as well.

sudo ufw enable
sudo ufw status