0

How to prevent IP from being blocked in CSF?

Asked 3 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


Answers


0
Answered 3 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

csf.ignore

Or you can edit the following two files via SSH:

/etc/csf/csf.allow
/etc/csf/csf.ignore

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

+8595670151

7 days a week, 24 hours a day