Skip to main content

Host Access Control, rules dont load - nftables removed, iptables installed

Comments

3 comments

  • User Avatar
    cPRex Jurassic Moderator
    Hey there! Do you see anything in /usr/local/cpanel/logs/error_log when that doesn't load? Does it load normally when you switch back to nftables?
    0
  • User Avatar
    kszadkowski
    There is nothing about HAC in error log. Yes, it works. #yum remove iptables #yum install nftables > restart As you can see in the screenshot. Rules load in milliseconds (cleared rules, so it's empty). Obviously the CSF has stopped working. There is one more possibility. With iptables installed but without nftables removing, both HAC and CSF work. The question is, is it possible and will there be any conflicts between nftables and iptables?
    0
  • User Avatar
    cPRex Jurassic Moderator
    Thanks for the additional details. According to our guide here: servers that run CentOS 7, CloudLinux 7, or RHEL 7, we recommend that you use the firewalld utility. For more information, read Red Hat"s Technical Support for an authoritative answer regarding that tool.
    0

Please sign in to leave a comment.