Home Miscellaneous How to install CSF?

How to install CSF?

by SupportPRO Admin

You can install CSF by downloading the package from www.configserver.com.

#wget www.configserver.com/free/csf.tgz

Extract the package

#tar -zxvf csf.taz
#cd csf

[CSF firewall requires to remove any currently running IP based firewall]

If any IP based firewall is running. Remove it

#./remove_apf_bfd.sh

Install script

#./install.sh

we can start the firewall in testing mode using this commands.

#csf -s
//start the firewall

Configuration file of csf is /etc/csf/csf.conf

It is very important to check the firewall on which ports to open and close all remaining port numbers. Open the /etc/csf/csf.conf and edit the following line with port numbers.

#Incoming TCP ports
TCP_IN = “20,21,22,25,53,80,110,143,443,953,993,995,2082,2083,2087,2086.2089”
# Allow outgoing TCP ports
TCP_OUT = “20,21,22,25,37,43,53,80,110,443.953,2087,2089”
#Incoming UDP ports
UDP_IN = “20,21,53,953”
#Outgoing UDP ports
UDP_OUT = “20,21,53,113,123,953

Disable the Testing mode and start the firewall

If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment

CONTACT US

Sales and Support

Phone: 1-(847) 607-6123
Fax: 1-(847)-620-0626
Sales: sales@supportpro.com
Support: clients@supportpro.com
Skype ID: sales_supportpro

Postal Address

1020 Milwaukee Ave, #245,
Deerfield, IL-60015
USA

©2022  SupportPRO.com. All Rights Reserved