ufw install code example Example 1: enable ufw ubuntu Click to copysudo ufw enable Example 2: ufw allow port Click to copysudo ufw allow http sudo ufw allow 80