*WARNING* TESTING mode is enabled – do not forget to disable it in the configuration
*WARNING* TESTING mode is enabled – do not forget to disable it in the configuration
FIX :
1. Log into your linux server via SSH as root user
You can download software like ‘putty’ to SSH to the server.
2. Take a backup of the CSF configuration file before making any changes.
CSF configuration file backup is saved as csf.conf.backup. Restore this backup if you make any mistakes while editing the configuration file.
3. Open CSF configuration file /etc/csf/csf.conf using vi editor or nano
root@server [~]# vi /etc/csf/csf.conf
Change the line TESTING = “1” to TESTING = “0”
Make sure you are able to access the server from outside before changing Testing mode to 0. Make sure all the important ports are allowed in the CSF configuration file before disabling testing mode.
TESTING = “1” means CSF is in testing mode. Lfd will not start when testing mode is enabled in CSF.
TESTING = “0” means testing mode is disabled. Lfd will start when testing mode is disabled.
4. Do not forget to restart the CSF firewall after changing the above line
command to restart CSF : csf -r
You wont see TESTING mode enabled warning when you restart the firewall this time. Check the status of ‘lfd’ after restating the firewall.
root@server [~]# /etc/init.d/lfd status
Status of lfd:lfd (pid 23181) is running…