Author Topic: block all connections by default to 21 port  (Read 4120 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
block all connections by default to 21 port
« 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

Offline
**
Re: block all connections by default to 21 port
« Reply #1 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

Offline
*
Re: block all connections by default to 21 port
« Reply #2 on: January 10, 2021, 04:28:09 PM »
thank you that help me