sudo ufw status inactive ubuntu 20.04 code example
Example 1: sudo ufw status Status: inactive
sudo ufw enable
Example 2: disable ufw
$ sudo ufw disable
Firewall stopped and disabled on system startup
sudo ufw enable
$ sudo ufw disable
Firewall stopped and disabled on system startup