how to allow range of port in firewall rules in ubuntu code example Example: firewall allow port ubuntu sudo ufw allow 2222