Hello,
There are currently two separate issues relevant to this thread.
1. We recently published a resolution to address an issue where updating the
firewalld package through YUM can block access to services on systems using version 7.4 of CentOS or CloudLinux.
For systems using cPanel version 64 and CentOS 7.4, this is fixed as of 64.0.39 with the following case:
Fixed case CPANEL-15761: Update firewalld rules automatically for CentOS 7.4.
For systems using cPanel version 64 and CloudLinux 7.4, this is fixed as of 64.0.38 with the following case:
Fixed case CPANEL-15104: Make firewalld rules compatible with CloudLinux 7.4.
For systems using cPanel version 66 and CentOS 7.4, this is fixed as of 66.0.19 with the following case:
Fixed case CPANEL-15545: Update firewalld rules automatically for CentOS 7.4.
For systems using cPanel version 66 and CloudLinux 7.4, this is fixed as of 66.0.15 with the following case:
Fixed case CPANEL-15104: Make firewalld rules compatible with CloudLinux 7.4.
If you are using earlier versions of cPanel and are unable to update to a newer version at this time, then a temporary workaround is to remove the following lines from the
/etc/firewalld/services/cpanel.xml file:
Code:
<module name="iptable_filter"/>
<module name="ip6table_filter"/>
Once you remove these lines and save the file, run the following command:
Code:
systemctl restart firewalld
Note that running the "/usr/local/cpanel/scripts/configure_firewall_for_cpanel" command will reinsert those lines, so the better solution going forward is to update cPanel to a version that includes the published resolutions.
2. Additionally, internal case CPANEL-15828 is now open to track reports of this happening on versions of cPanel that already include one the resolutions referenced above. The following command is available as a temporary workaround for this particular issue:
Code:
/usr/local/cpanel/scripts/configure_firewall_for_cpanel
I'll monitor internal case CPANEL-15828 and update this thread with more information as it becomes available.
To update, the second issue was not reproducible. The issue reported here looks to relate to the cases referenced above.
Thank you.