Activity Stream
48,167 MEMBERS
6655 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7
  1.     
    #1
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com

    Default Install + Configure CSF on VPS [Updated]

    Hey, this is an updated tutorial to install CSF on your VPS.

    I recommend beginners to use WinSCP for editing files.

    1. First login into your VPS using your vps details, if you don't have the knowledge to login please stop reading this tutorial.

    2. These are the commands to be executed to install CSF (officially from CS.)

    Code: 
    rm -fv csf.tgz 
    wget http://www.configserver.com/free/csf.tgz 
    tar -xzf csf.tgz 
    cd csf 
    sh install.sh
    3. Check if CSF is installed correctly by running:
    Code: 
    perl /etc/csf/csftest.pl
    "Don't worry if you cannot run all the features, so long as the script doesn't report any FATAL errors"

    3. CSF should be installed now, if you got any FATAL errors you may be missing iptables modules, this can be enabled by your host.

    4. Now let's start configuring CSF, edit the file: /etc/csf/csf.conf
    And find the following line:
    Code: 
    TCP_IN = ""
    And add to the end ",30000:35000"

    So it will look like:
    Code: 
    TCP_IN = "20,21,22,2082,2083,2086,2087,30000:35000"
    (This is an example!)

    Also if you changed your SSH port add it to the end of that line.

    Now save the file and restart CSF by executing the following command:
    Code: 
    csf -s
    5. Now we are going to configure FTP server, this is because CSF will block passive ports by default.

    If you have PureFTP do this:
    Edit the following file: /etc/pure-ftpd.conf

    And find:
    Code: 
    # PassivePortRange    30000 35000
    Remove the # or just add the line above.
    Save the file and restart FTP server by executing:
    Code: 
    service pureftpd restart
    If you have ProFTP do this:
    Edit the following file: /etc/proftpd.conf

    And find:
    Code: 
    # PassivePorts    30000 35000
    Remove the # or just add the line above.
    Save the file and restart FTP server by executing:
    Code: 
    service proftpd restart
    Enjoy
    l0calh0st Reviewed by l0calh0st on . Install + Configure CSF on VPS [Updated] Hey, this is an updated tutorial to install CSF on your VPS. I recommend beginners to use WinSCP for editing files. 1. First login into your VPS using your vps details, if you don't have the knowledge to login please stop reading this tutorial. 2. These are the commands to be executed to install CSF (officially from CS.) rm -fv csf.tgz Rating: 5

    Defendos BETA3 Released! Thread - Official Website

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    fasthostonline.com
    how the configuration if i want to install on dedicated server with solusVM and webmin>

    regards

  4.     
    #3
    Member
    So what does the steps above actually do?

    why add 30000:35000?

  5.     
    #4
    Member
    Website's:
    myrapidleech.net
    Quote Originally Posted by Hillside View Post
    So what does the steps above actually do?

    why add 30000:35000?
    In some servers there is kernal problems and sometimes it blocks the ftp passive mode and to enable it, we have to make a whole in the firewall
    MyRapidleech.net - Under Construction!
    ClickLeech.com - Premium Link Generator! Free!

  6.     
    #5
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    No one needs this lol?

    Defendos BETA3 Released! Thread - Official Website

  7.     
    #6
    Member
    Website's:
    erawanarifnugroho.com lebstats.com
    I am using CSF for my web server
    Thank you for sharing this CSF tutorial.
    Now, i got email every hacking attempt occurs.
    http://www.erawanarifnugroho.com | My personal website :D

  8.     
    #7
    Member
    i already installed this to my server

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need anyone to install and configure xen solusvm
    By VpsHosters in forum Server Management
    Replies: 1
    Last Post: 26th Jan 2012, 04:15 AM
  2. [Selling] WordPress instalation + Plugin install + Theam install service(free for biginers)
    By senseseo in forum Completed Transactions
    Replies: 4
    Last Post: 16th Oct 2011, 02:09 PM
  3. [Hiring] Some one to install and configure Direct admin
    By ArDown in forum Completed Transactions
    Replies: 3
    Last Post: 14th Jun 2010, 02:48 AM
  4. Replies: 18
    Last Post: 23rd Mar 2010, 06:25 AM
  5. [VPS]Install and Configure a GUI on your (Linux)
    By Lease in forum Technical and Security Tutorials
    Replies: 0
    Last Post: 9th Jan 2008, 02:23 AM

Tags for this Thread

BE SOCIAL