Comments on How to Install and Configure CSF (Config Server Firewall) on CentOS 7
Config Server Firewall / CSF is firewall application suite for Linux servers. CSF is also a Login/Intrusion Detection for applications like SSH, SMTP, IMAP, Pop3, the "su" command and many more. This tutorial will show the installation of CSF on CentOS 7 and guide you trough the first steps to use this powerful application suite.
8 Comment(s)
Comments
Hello,
I am having problem w csf.
When I flush default rules, they are being added autmaticly after ~10-30 minutes.
I want only to use this firewall for blacklist/whitelist IP and countries.
How to configure it propetly to use it only for this functions?
Thanks for any help :)
How to block a range of IP from one country?
at "2. Flush/Stop the firewall rules", the command should be csf -r, not csf -f.
Very nice and concise tutorial. I suggest that questions about specific configuration be asked on CSF specific support site. This blog explains the setup and core settings to get a clean start.
Please correct below :-
sh install .sh = sh install.sh ( .sh without space )
3. Reload the firewall rules.
csf -f Correction is : csf -r
Thanks
Thank you for the notice. I've corrected the tutorial.
thanks
tnx very nice