Ubuntu - Enable/disable firewall

December 2016


To disable the firewall utility, open a terminal and type:
  • sudo ufw disable

To enable it:
  • sudo ufw enable

Related :

This document entitled « Ubuntu - Enable/disable firewall » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.