How to enable and disable the firewall on Ubuntu 16.04

H

How Can We Help?

The UFW firewall is the default firewall that ships standard with the Ubuntu Linux DistributionUFW stands for Uncomplicated Firewall.

To enable the UFW firewall, open a new Terminal window and execute the following command:

sudo ufw enable

To disable the UFW firewall, open a new Terminal windows and execute the following command:

sudo ufw disable 

To view the status of the UFW execute the below command:

sudo ufw status

More can be read about the UFW firewall on the Ubuntu wiki. Click here to read more.

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me