Checking status of ufw and enabling it

To see whether ufw is running, we issue the following command:

sudo ufw status

setup default rules:

sudo ufw default allow outgoing

sudo ufw default deny incoming

Comments