I'm trying to add http to the public zone in firewalld on CentOS 7 (new digitalocean image).
Someone please correct me if this is not the right/secure way to make my websites accessible through firewalld.
The issue I have is:
[root@wilberforce ~]# firewall-cmd --add-service=http
Error: COMMAND_FAILED: '/sbin/iptables -A IN_public_allow -t filter -m tcp -p tcp --dport 80 -m conntrack --ctstate NEW -j ACCEPT' failed: iptables: No chain/target/match by that name.
Failed to apply rules. A firewall reload might solve the issue if the firewall has been modified using ip*tables or ebtables.
Both http and https are listed under firewall-cmd --get-services
. Why can't I add the service?