In control panel it says "Firewall Status: Enabled but Stopped", when clicking "Start" it does not really start.
Then in shell when I do "systemctl start csf.service", it still does not start:
Code: Select all
[root@server~]# systemctl status csf.service
? csf.service - ConfigServer Firewall & Security - csf
Loaded: loaded (/usr/lib/systemd/system/csf.service; enabled; vendor preset: disabled)
Active: inactive (dead)
[root@server~]#
Code: Select all
[root@server ~]# systemctl status csf.service
? csf.service - ConfigServer Firewall & Security - csf
Loaded: loaded (/usr/lib/systemd/system/csf.service; enabled; vendor preset: disabled)
Active: active (exited) since Thu 2019-10-10 17:53:36 CEST; 36s ago
Process: 17980 ExecStart=/usr/sbin/csf --initup (code=exited, status=0/SUCCESS)
Main PID: 17980 (code=exited, status=0/SUCCESS)
"Firewall Status: Enabled but Stopped"
Also when clicking "Firewall restart" in CSF interace in DirectAdmin, it does not give any errors, but when checking in shell with "systemctl status csf.service", it has not been restarted for 9 hours.
It seems none of the method to restart CSF in DirectAdmin interface, none of them actual restart CSF.
Byt the way, testing does not show any problems:
Code: Select all
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...OK
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK
RESULT: csf should function on this server