how to start ubuntu firewall code example
Example 1: disable ufw
$ sudo ufw disable
Firewall stopped and disabled on system startup
Example 2: ufw allow port
sudo ufw allow http
sudo ufw allow 80
$ sudo ufw disable
Firewall stopped and disabled on system startup
sudo ufw allow http
sudo ufw allow 80