icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Web Hosting Tutorials » [Dedicated] Config Server Firewall (CSF) & Login Failure Demon (LFD)

Web Hosting Tutorials Feel free to browse or contribute.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old June 11th, 2008, 5:11 PM   #1 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,653 posts
Gave thanks: 81
Thanked 128 times
[Dedicated] Config Server Firewall (CSF) & Login Failure Demon (LFD)

Config Server Firewall (CSF) & Login Failure Demon (LFD)

A user friendly replacement for apf and bfd, plugs straight into WHM allowing easy access, configuration and modification. Especially good for people who are unsure on how to use the command line as this is only used for installation.
Contents
[hide]

* 1 Install
* 2 Config
o 2.1 Allowing Port 26 Access
* 3 More Info

Install

It has its own install guide but this is a basic step by step guide to make it easier for people who don't understand exactly what they are doing with the exact commands to run in SSH, so you can just copy and paste from here.

* Step 1 - Download the file to your server:

wget http://www.configserver.com/free/csf.tgz

* Step 2 - Untar the file

tar -xzf csf.tgz

* Step 3 - Change to the csf directory and execute the install file:

cd csf
sh install.sh

* Step 4 - If you are already running APF/BFD you need to disable them as they both conflict:

sh disable_apf_bfd.sh

* Step 5 - Removing the install files:

cd ../
rm -fv csf.tgz
rm -Rfv csf

And your done, all it needs now is a bit of configuration. The programs come preconfigured for all the default cpanel server ports and also configures automatically for your ssh port. However as some people may run different ports for example smtp on 26, this is how you change it.
Config
Allowing Port 26 Access

Log in to WHM and scroll right to the bottom, in the addons menu you will see ConfigServer Security & Firewall. When selected you are presented with the following screen:

* Choose Firewall Configuration,
* Locate TCP_IN & TCP_OUT
* Add 26 in the field,
* then scroll to the bottom of the page and save configuration,

It will ask you to restart the firewall and you are done. Now test it to make sure its working.
More Info

For extended information the readme provided by config servers is very very detailed and efficient it is worth a read, this was aimed at a basic tutorial: http://www.configserver.com/free/csf/readme.txt

Along with the original installation documentation: http://www.configserver.com/free/csf/install.txt

For more information see there site: ConfigServer Security & Firewall

Special Thanks to Deastwood, from Surmunity.
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 12th, 2008, 4:20 AM   #2 (permalink)
Surpass Abuse Admin
Super #1
 
removed's Avatar
 
Joined in Mar 2005
Lives in Houston, TX
Hosted on NONE
7,761 posts
Gave thanks: 10
Thanked 276 times
It's important to note that you really should submit a ticket if any of these instructions confuse you. You can do a lot of damage to the server if you manage to make a mistake when attempting to install CSF, or do anything else while logged in to SSH as root.
__________________
Unofficial IRC Channel: #surpass EFNet
Unofficial = No official support. Support requests can be submitted to our helpdesk.
removed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On