Control Web Panel

Security => CSF Firewall => Topic started by: bybrunos2 on January 09, 2021, 05:36:37 PM

Title: block all connections by default to 21 port
Post by: bybrunos2 on January 09, 2021, 05:36:37 PM
Hello, how can i
block all connections by default to 21 port exept the IP list that i add manually?
thanks
Bruno
Title: Re: block all connections by default to 21 port
Post by: evansa on January 10, 2021, 10:35:00 AM
use the following:
 csf -td 0.0.0.0/0  -p 21
You can then add manually the IPs you want to allow in /etc/csf/csf.allow
Title: Re: block all connections by default to 21 port
Post by: bybrunos2 on January 10, 2021, 04:28:09 PM
thank you that help me