ufw allow port

Shell
sudo ufw allow from 15.15.15.0/24  to any port 22
sudo ufw allow http
sudo ufw allow 80


Source

Also in Shell: