Centos tricks - LosephCawtonJurtis/SEC-350 GitHub Wiki
commands to open ports on firewalls in centos7
sudo firewall-cmd --zone=public --add-port=80/tcp --permanent
sudo firewall-cmd --reload
do not forget to reload the firewall and add the --permanent
flag