IT Notes from various projects because I forget, and hopefully they help you too.
sudo iptables -L
iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT service iptables save service iptables restart