settings

allow IPV6 set IPV6=yes in /etc/default/ufw

adding rules

# using application profile, for ex.
sudo ufw allow OpenSSH
 
# OR using rules in /etc/services
sudo ufw allow ssh