sudo ufw status active code example
Example 1: sudo ufw status Status: inactive
sudo ufw enable
Example 2: ufw allow http and httpw connections
sudo ufw allow http
sudo ufw allow https
sudo ufw enable
sudo ufw enable
sudo ufw allow http
sudo ufw allow https
sudo ufw enable