Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
Security
»
CSF Firewall
»
block all connections by default to 21 port
« previous
next »
Print
Pages: [
1
]
Author
Topic: block all connections by default to 21 port (Read 4109 times)
0 Members and 1 Guest are viewing this topic.
bybrunos2
Newbie
Posts: 3
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
Logged
evansa
Jr. Member
Posts: 245
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
Logged
bybrunos2
Newbie
Posts: 3
Re: block all connections by default to 21 port
«
Reply #2 on:
January 10, 2021, 04:28:09 PM »
thank you that help me
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
Security
»
CSF Firewall
»
block all connections by default to 21 port