Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Install Firewall on CentOs

Feb 9, 2012, 10:04
Post: #1
Install Firewall on CentOs
Install Firewall on CentOs

The very first first step on securing a server is installing a firewall (atleast IP tables based) to close all unused or unwanted ports. Once the firewall is installed it is often considered 50% of work done. You can install CSF firewall or APF firewall. Often BFD (brute force detection) utilities comes with firewall.

We will install CSF (Config security firewall) as it is easy to install with plenty of features and easily integrated to CPanel (if you are running)

PHP Code:
PHP Code:
wget http://www.configserver.com/free/csf.tgz
    
tar zxf csf.tar.gz
    sh 
/csf/install.sh 
Follow the installer and once installed, you can start the firewall.
PHP Code:
PHP Code:
csf -s
    
// start the firewall
    
csf -r
    
// restart the firewall
    
csf -
// flush the rules or stop the firewall.

█| AvaNetco.com Hosting Company Shared Hosting , VPS , Dedicated
█| 24/7 Server Management, Outsourced Support, Web Development
█| High Quality virtual servers with lots of Guaranteed RAM and HDD space, Impeccable Service.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Howto: Install PHP on Windows 2003 Web Edition Albert.Nawaro 0 88 Feb 14, 2012 07:16
Last Post: Albert.Nawaro
  Howto: Install CDONTS Windows 2003 Albert.Nawaro 0 50 Feb 14, 2012 06:55
Last Post: Albert.Nawaro

Forum Jump:


User(s) browsing this thread:
1 Guest(s)

Return to Top