ufw enable http code example Example: ufw allow http and httpw connections sudo ufw allow http sudo ufw allow https sudo ufw enable