On 29/01/16 16:45, reynierpm@gmail.com wrote:
On Fri, Jan 29, 2016 at 11:41 AM, Michael H michael@wemoto.com wrote:
setsebool -P httpd_can_network_connect on firewall-cmd --add-service=http --permanent
I have ran those two and still can't access. I have restarted httpd and iptables services after ran those lines. BTW, what those means? setsebool is part of SELinux? Or this is new kind of extra security layer on CentOS7? I am moving from Centos 6.7 to 7 and things change between versions.
Selinux has been around for a while.
setsebool - set selinux boolean
You should probably be using the firewall-cmd rather than iptables; firewall-cmd --add-service=http --permanent - add the http service to your firewall.
I forgot, unless you run
firewall-cmd --reload
the rules may not be in play.
Michael
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos