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

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1.     
    #1
    Banned
    Website's:
    KWWHunction.com

    Default The Correct Way to Instal CSF on a Virtual Server

    Alright so most people do not know that CSF its self direct install does not support Virtuizzo/OpenVZ. If you install CSF on a virtual server it must be configured or else you will basically be locked out The instructions below will show you the correct way to achieve this.

    Installation

    ============
    Installation is quite straightforward:

    Code: 
    rm -fv csf.tgz
    wget http://www.configserver.com/free/csf.tgz
    tar -xzf csf.tgz
    cd csf
    sh install.sh
    After the installation you will need to customize CSF to run on VPS:

    ================================================== ===

    edit /etc/sysconfig/iptables and add

    -A FORWARD -j ACCEPT -p all -s 0/0 -i venet0
    -A FORWARD -j ACCEPT -p all -s 0/0 -o venet0

    -A INPUT -i venet0 -j ACCEPT
    -A OUTPUT -o venet0 -j ACCEPT

    create file /etc/csf/csfpre.sh and enter all the extra rules directly into it prefixed with ?iptables? so the contents of that file should look something like:

    iptables -A INPUT -i venet0 -j ACCEPT
    iptables -A OUTPUT -o venet0 -j ACCEPT
    iptables -A FORWARD -j ACCEPT -p all -s 0/0 -i venet0
    iptables -A FORWARD -j ACCEPT -p all -s 0/0 -o venet0

    edit /etc/csf/csf.conf file and add
    and search for

    ETH_DEVICE = ??

    change to

    ETH_DEVICE = ?venet+?

    (as there is no eth0 in a VPS).

    For more support and guidelines please see the CSF forum

    http://forum.configserver.com/index.php
    Descriptions and Functions

    ======================

    csf+lfd works on all Linux servers on the Operating Systems listed above, with or without cPanel

    This suite of scripts provides:

    * Straight-forward SPI iptables firewall script
    * Daemon process that checks for login authentication failures for:
    o Courier imap, Dovecot, uw-imap, Kerio
    o openSSH
    o cPanel, WHM, Webmail (cPanel servers only)
    o Pure-pftd, vsftpd, Proftpd
    o Password protected web pages (htpasswd)
    o Mod_security failures (v1 and v2)
    o Suhosin failures
    o Exim SMTP AUTH
    o Custom login failures with separate log file and regular expression matching
    * POP3/IMAP login tracking to enforce logins per hour
    * SSH login notification
    * SU login notification
    * Excessive connection blocking
    * WHM configuration interface (cPanel servers only) or through Webmin
    * WHM iptables report log (cPanel servers only)
    * Easy upgrade between versions from within WHM (cPanel servers only) or through Webmin
    * Easy upgrade between versions from shell
    * A standard Webmin Module to configure csf is included in the distribution ready to install into Webmin ? csfwebmin.tgz
    * Pre-configured to work on a cPanel server with all the standard cPanel ports open (cPanel servers only)
    * Auto-configures the SSH port if it?s non-standard on installation
    * Block traffic on unused server IP addresses ? helps reduce the risk to your server
    * Alert when end-user scripts sending excessive emails per hour ? for identifying spamming scripts
    * Suspicious process reporting ? reports potential exploits running on the server
    * Excessive user processes reporting
    * Excessive user process usage reporting and optional termination
    * Suspicious file reporting ? reports potential exploit files in /tmp and similar directories
    * Directory and file watching ? reports if a watched directory or a file changes
    * Block traffic on the DShield Block List and the Spamhaus DROP List
    * BOGON packet protection
    * Pre-configured settings for Low, Medium or High firewall security (cPanel servers only)
    * Works with multiple ethernet devices
    * Server Security Check ? Performs a basic security and settings check on the server (cPanel servers only)
    * Allow Dynamic DNS IP addresses ? always allow your IP address even if it changes whenever you connect to the internet
    * Alert sent if server load average remains high for a specified length of time
    * mod_security log reporting (if installed)
    * Email relay tracking ? tracks all email sent through the server and issues alerts for excessive usage (cPanel servers only)
    * IDS (Intrusion Detection System) ? the last line of detection alerts you to changes to system and application binaries
    * SYN Flood protection
    * Ping of death protection
    * Port Scan tracking and blocking
    * Permanent and Temporary (with TTL) IP blocking
    * Exploit checks
    * Account modification tracking ? sends alerts if an account entry is modified, e.g. if the password is changed or the login shell
    * Shared syslog aware
    * New in v4: Messenger Service ? Allows you to redirect connection requests from blocked IP addresses to preconfigured text and html pages to inform the visitor that they have been blocked in the firewall. This can be particularly useful for those with a large user base and help process support requests more efficiently
    DLow Reviewed by DLow on . The Correct Way to Instal CSF on a Virtual Server Alright so most people do not know that CSF its self direct install does not support Virtuizzo/OpenVZ. If you install CSF on a virtual server it must be configured or else you will basically be locked out :) The instructions below will show you the correct way to achieve this. Installation ============ Installation is quite straightforward: rm -fv csf.tgz wget http://www.configserver.com/free/csf.tgz tar -xzf csf.tgz Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    I was having trouble the other and you did inform me. This is a good post. It did help me.

    "Put her hands down my pants now she rocking Sean John" -Big Sean

  4.     
    #3
    Member
    Website's:
    Adultdvdrips.com Filesonicporn.info Planetporn.org Hostexec.net
    Exellent tutorial DLow. Thanks !

  5.     
    #4
    Banned
    Website's:
    KWWHunction.com
    @ Sickboy

    Anytime man Your very welcome.

  6.     
    #5
    Member
    Good Tut, however if it still doesn't work you may be missing iptable modules.
    for that you need to contact the host!

  7.     
    #6
    Member
    Website's:
    G-Host.us Radiorockers.in
    wehey! that really helped

    Thanks man!


  8.     
    #7
    Trusted Webmaster
    Website's:
    KWWHunction.com
    Out-Dated Please Update

  9.     
    #8
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    Rick, google is your friend. Lazy biatch

    Defendos BETA3 Released! Thread - Official Website

  10.     
    #9
    Trusted Webmaster
    Website's:
    KWWHunction.com
    Lol yea true But whats a tut without it being current. Especially on a webmaster forum.

  11.     
    #10
    Banned
    Website's:
    KWWHunction.com
    Lul yeah it was almost last year when it was posted

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [VPS] Virtual Private Server Hosting $4.99 Only
    By rahulkv in forum Archive
    Replies: 4
    Last Post: 24th Jan 2012, 08:47 PM
  2. [Dedicated] US Virtual Dedicated Server
    By KurruptOwner in forum Archive
    Replies: 4
    Last Post: 21st Sep 2011, 12:42 AM
  3. Get your manual virtual server with your own offer!
    By VIPMember in forum Hosting Discussion
    Replies: 2
    Last Post: 12th Jul 2011, 10:35 AM
  4. [VPS] SecureSolution.biz | Virtual Private Server's
    By SecureSolution in forum Archive
    Replies: 6
    Last Post: 2nd Mar 2011, 03:38 PM

Tags for this Thread

BE SOCIAL