Websites not loading until I install CSF

riotrequest

New member
Joined
Jul 10, 2019
Messages
4
Since last night, I've tried everything I could think of to get websites on my new DA install to load and nothing worked. I was about to write a query here regarding it when I decided to take a deeper look at the firewall/bruteforce scripts running on the server and realized it was a built-in script? I decided to proceed with installing it anyway, cause I just had a gut feeling... and now my websites are loading.

So my question is wth did I miss? Lol
 
Hello,

By default, centos7 installs and activates a firewall when installing the OS. You can flush the default firewall with the following command: iptables -F

In your case, you installed CSF which essentially does the same. Flush the firewall and set the firewall rules per your configuration.
 
CSF -F will only flush the firewall which is not much use.

It's better to disable the default firewall for when something goes wrong, you can visit your server.
stop the default firewall:
systemctl stop firewalld
then disable the firewall:
systemctl disable firewalld

You should have no issues anymore. If you already installed CSF and everything, just use the command to disable the default firewall and restart CSF.
 
Back
Top