allow port in firewall ubuntu code example
Example 1: firewall allow port ubuntu
sudo ufw allow 2222
Example 2: ubuntu open port
sudo ufw allow 1191/tcp
Example 3: enable ufw ubuntu
sudo ufw enable
Example 4: ufw allow port
sudo ufw allow http
sudo ufw allow 80
Example 5: allow ip through ufw
sudo ufw allow from 15.15.15.0/24 to any port 22