filmov
tv
How to install and configure CSF ( Config Server Firewall ) in linux
Показать описание
Hello All,
In this video tutorial i will show, 'How to install and configure CSF ( Config Server Firewall ) in centos and how to enabled the UI support in csf.
Install required perl modules :-
yum -y install perl perl-IO-Socket-SSL.noarch perl-Net-SSLeay perl-Net-LibIDN perl-IO-Socket-INET6 perl-Socket6 perl-Digest-MD5
CSF Installation Procedure :-
cd /usr/src
cd csf
Next, if you have the required iptables modules to run csf on your server.
Enable csf UI support :-
UI = "1"
UI_PORT = "2286"
TCP_IN & TCP6_IN = add port 2286 at the end.
UI_USER = "csf_admin"
UI_PASS = "csf_password"
Testing = "0" #Remove csf from testing mode.
Restart both csf & lfd services with the following command to affect with new configuration.
csf -r
service csf restart
service lfd restart
let's make ssh port from 22 to 5335
All done !!!
Have a good day !!!
In this video tutorial i will show, 'How to install and configure CSF ( Config Server Firewall ) in centos and how to enabled the UI support in csf.
Install required perl modules :-
yum -y install perl perl-IO-Socket-SSL.noarch perl-Net-SSLeay perl-Net-LibIDN perl-IO-Socket-INET6 perl-Socket6 perl-Digest-MD5
CSF Installation Procedure :-
cd /usr/src
cd csf
Next, if you have the required iptables modules to run csf on your server.
Enable csf UI support :-
UI = "1"
UI_PORT = "2286"
TCP_IN & TCP6_IN = add port 2286 at the end.
UI_USER = "csf_admin"
UI_PASS = "csf_password"
Testing = "0" #Remove csf from testing mode.
Restart both csf & lfd services with the following command to affect with new configuration.
csf -r
service csf restart
service lfd restart
let's make ssh port from 22 to 5335
All done !!!
Have a good day !!!