How to prevent IP from being blocked in CSF?

Asked 2 years ago (Apr 13, 2021) in the field of Network and security by Manav2018

Hello. Please is it possible to prevent considered IP from being blocked by


Answered 2 years ago (Apr 14, 2021) by Eldernode Staff

If you want to prevent certain IPs from being blocked by the firewall, you can put them in the firewall whitelist. Through the admin panel, put the desired IP in the following two parts and click the Restart Firewall button that appears after saving the file:

Firewall Allow IPs


Or you can edit the following two files via SSH:


To restart the CSF firewall, also run this command:

csf -r && service lfd restart

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way


7 days a week, 24 hours a day