CSF firewall blocked all when enable services

tungle

New member
Joined
Aug 14, 2021
Messages
6
I was testing connect out with command
csf and lfd have been disabled

root@noname:~# curl google.com -i
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Sat, 14 Aug 2021 16:06:14 GMT
Expires: Mon, 13 Sep 2021 16:06:14 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

But when csf -e to enable to run was not success

how can i fix, many thanks
 
when csf enable and I try run with new csf.conf
1628959720846.png
 
You didn't install csf/lfd correctly.

Install by using:
./install_directadmin.sh
and try again.

Be sure to first disable firewalld
systemctl stop firewalld systemctl disable firewalld
 
You didn't install csf/lfd correctly.

Install by using:
./install_directadmin.sh
and try again.

Be sure to first disable firewalld
systemctl stop firewalld systemctl disable firewalld
I don't use firewalld
:)
i'm using ubuntu 20.04 and only install firewall CSF with iptables, you should check my config it not block anything services
 
I don't use firewalld
:)
i'm using ubuntu 20.04 and only install firewall CSF with iptables, you should check my config it not block anything services

For ubuntu check if UFW (Uncomplicated Firewall) is disabled. This firewall is installed by default in Ubuntu.

Check status:

Code:
ufw status

Disable:

Code:
ufw disable
 
you should check my config it not block anything services
You should reinstall CSF like I said because it will block the DA port anyway if you did not change it to another port.
All Linux distro's do a default firewall install, so in your case check what Maxi32 said.
 
You should reinstall CSF like I said because it will block the DA port anyway if you did not change it to another port.
All Linux distro's do a default firewall install, so in your case check what Maxi32 said.
Thank for all
I was reinstall CSF and config with new file and rules and now runing normal
For ubuntu check if UFW (Uncomplicated Firewall) is disabled. This firewall is installed by default in Ubuntu.

Check status:

Code:
ufw status

Disable:

Code:
ufw disable
You should check my config.
As I said above, I removed all default firewall on ubuntu and only using CSF and iptables.
And then I was reinstall CSF and config with new file and rules and now running normal.
 
You should reinstall CSF like I said because it will block the DA port anyway if you did not change it to another port.
All Linux distro's do a default firewall install, so in your case check what Maxi32 said.
I was reinstall CSF and config with new file and rules and now running normal.
Thank you
 
You didn't install csf/lfd correctly.

Install by using:
./install_directadmin.sh
and try again.

Be sure to first disable firewalld
systemctl stop firewalld systemctl disable firewalld
Just to be sure:
I don't have to enable and restart firewalld afterwards?
CSF is a full replacement of firewalld?
 
Back
Top