1. Turn on the firewall
sudo ufw enable
2. Shut down a port, such as port 80
sudo ufw deny 80
3. Query the current status of the firewall
sudo ufw status
1. Turn on the firewall
sudo ufw enable
2. Shut down a port, such as port 80
sudo ufw deny 80
3. Query the current status of the firewall
sudo ufw status