How to enable and disable the firewall on Ubuntu 16.04

Written by Ian Carnaghan · 18 sec read >

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

Last Updated On January 16, 2019
Written by 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. Profile

Leave a Reply

Notify of