ufw allow http code example
Example 1: enable ufw ubuntu
sudo ufw enable
Example 2: ufw allow postgresql
sudo ufw allow 5432
Example 3: ufw allow http and httpw connections
sudo ufw allow http
sudo ufw allow https
sudo ufw enable
Example 4: allow ip through ufw
sudo ufw allow from 15.15.15.0/24 to any port 22