firewall-cmd

firewall-cmd is used to manage firewall (iptables) in CentOS 7.

To allow HTTP and HTTPS traffic, run

iptables