enable firewall - sudo ufw enable reload firewall - sudo ufw reload disable firewall - sudo ufw disable allow port ya service - sudo ufw allow port/service-name (like - sudo ufw allow ssh or sudo ufw allow 22 or sudo ufw allow from sourceip to any port 22) allow rule delete - sudo ufw delete allow port/service-name (like - sudo ufw delete allow ssh or sudo ufw delete allow 22 or sudo ufw delete allow from sourceip to any port 22)