Author Topic: Firewall does not get enabled in CentOS8 install of CWP  (Read 5148 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Firewall does not get enabled in CentOS8 install of CWP
« on: August 27, 2021, 01:48:11 AM »
I have installed CWP on CentOS8. The firewall is not getting enabled.
When i run the commands to enable from the terminal, i get below errors.
 
Code: [Select]
[root@server ~]# csf -x; csf -e
*Error* The path to iptables is either not set or incorrect for IPTABLES [/sbin/iptables] in /etc/csf/csf.conf at /usr/local/csf/lib/ConfigServer/URLGet.pm line 26.
Compilation failed in require at /sbin/csf line 21.
BEGIN failed--compilation aborted at /sbin/csf line 21.
*Error* The path to iptables is either not set or incorrect for IPTABLES [/sbin/iptables] in /etc/csf/csf.conf at /usr/local/csf/lib/ConfigServer/URLGet.pm line 26.
Compilation failed in require at /sbin/csf line 21.
BEGIN failed--compilation aborted at /sbin/csf line 21.
Any idea on how to fix them?
Cheers
Ravi Kumar

Offline
*
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Firewall does not get enabled in CentOS8 install of CWP
« Reply #2 on: November 23, 2021, 01:20:37 PM »
I have installed CWP on CentOS8. The firewall is not getting enabled.

It's because iptables isn't installed.

Just run this command:

Code: [Select]
yum install iptables