Updated: 09 January 2021
List application profiles registered with ufw
ufw app list
Enable the firewall
ufw enable
Check status
ufw status verbose
Find a rule and delete it
sudo ufw status numbered sudo ufw delete 2
Sample commands when setting up a new server
sudo ufw status verbose sudo ufw app list sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw allow ssh sudo ufw enable sudo ufw status verbose