Author Topic: Firewall will not start  (Read 707 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Firewall will not start
« on: September 24, 2019, 02:27:28 PM »
I noticed earlier, that the firewall on my vps showed as not running. However, I cannot enable it. When trying to enable it, I get:

Quote
[root@server ~]# csf -e
csf and lfd are not disabled!

Then when I refresh the page. The firewall is still shown as not running.

I have tried a clean install of the os (Centos 7), followed by reinstalling Centos webpanel, but this has made no difference.

Obviously, I cannot run a server without a firewall. Is there any way to fix this?

Offline
**
Re: Firewall will not start
« Reply #1 on: September 24, 2019, 02:38:06 PM »
is your server openvz?

Offline
*
Re: Firewall will not start
« Reply #2 on: September 24, 2019, 04:09:57 PM »
The host machine is running virtuozzo (as far as i'm aware...cpanel used to report that when I used it). I've rebuilt the OS again, this time to centos 6, followed by reinstalling centos webpanel, and the firewall now starts correctly.

Offline
**
Re: Firewall will not start
« Reply #3 on: September 24, 2019, 05:14:33 PM »
For openvz  in the node your provider should do this ( let's say your vm number is 100)

1. stop the vps from the node by running
vzctl stop  100

2. Enable the module:

vzctl set 100 --netfilter full --save

3. Start VPS:

vzctl start 100

Then every thing will work