Enable UI in CSF Firewall on CentOS

CSF Firewall UI

CSF Firewall come with standalone UI. This is disabled by default. On CentOS, install following requirments

Edit CSF configuration file


Replace with

Change following settins as needed.

By Default, only whitelisted IP can access the UI, to white list your IP, run

If you want to allow CSF UI from all IP address, then set UI_ALLOW to 0 in csf.conf

CSF use a self signed SSL, if you have an SSL cert, you can use it. SSL certificate is avaiable in folder

To use LetsEncrypt Free SSL certificate for CSF UI, i set symlink to ssl cert.

Now restart CSF and LDF

You will see CSF UI running on port 6666.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *