Fresh install of Ubuntu Server LTS 10.04 on a Rackspace next gen (Performance) server needs the following ports open: 25/tcp, 80/tcp, 443/tcp, 3306/tcp.
I used nmap to check for open ports, here is what lists as open:
PORT STATE SERVICE
22/tcp open ssh
So I used ufw to open the ports (25/tcp, 80/tcp, 443/tcp, 3306/tcp)
$sudo ufw allow 25/tcp
Rule updated
Afterward, ufw lists the same port (22/tcp) as being open:
PORT STATE SERVICE
22/tcp open ssh
Am I missing something? Are the ports open, but just not showing as open? Is it because nmap is missing their status due to Ubuntu denying it the ability to see that they are open since nothing is listening?