Results 1 to 10 of 11
-
2nd Oct 2010, 05:55 PM #1OPBannedWebsite's:
KWWHunction.comThe 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
================================================== ===
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 efficientlyDLow 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
-
3rd Oct 2010, 01:01 AM #2Member
-
3rd Oct 2010, 07:25 AM #3MemberWebsite's:
Adultdvdrips.com Filesonicporn.info Planetporn.org Hostexec.netExellent tutorial DLow. Thanks !
-
8th Oct 2010, 09:15 PM #4OPBannedWebsite's:
KWWHunction.com@ Sickboy
Anytime man Your very welcome.
-
8th Oct 2010, 09:18 PM #5Member
Good Tut, however if it still doesn't work you may be missing iptable modules.
for that you need to contact the host!
-
13th Oct 2010, 05:30 PM #6MemberWebsite's:
G-Host.us Radiorockers.inwehey! that really helped
Thanks man!
-
17th Feb 2011, 07:47 PM #7Trusted WebmasterWebsite's:
KWWHunction.comOut-Dated Please Update
-
17th Feb 2011, 07:56 PM #8MemberWebsite's:
Elite.SO Defendos.com Motionite.comRick, google is your friend. Lazy biatch
-
17th Feb 2011, 07:57 PM #9Trusted WebmasterWebsite's:
KWWHunction.comLol yea true But whats a tut without it being current. Especially on a webmaster forum.
-
17th Feb 2011, 08:07 PM #10OPBannedWebsite's:
KWWHunction.comLul yeah it was almost last year when it was posted
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[VPS] Virtual Private Server Hosting $4.99 Only
By rahulkv in forum ArchiveReplies: 4Last Post: 24th Jan 2012, 08:47 PM -
[Dedicated] US Virtual Dedicated Server
By KurruptOwner in forum ArchiveReplies: 4Last Post: 21st Sep 2011, 12:42 AM -
Get your manual virtual server with your own offer!
By VIPMember in forum Hosting DiscussionReplies: 2Last Post: 12th Jul 2011, 10:35 AM -
[VPS] SecureSolution.biz | Virtual Private Server's
By SecureSolution in forum ArchiveReplies: 6Last Post: 2nd Mar 2011, 03:38 PM
themaCreator - create posts from...
Version 3.17 released. Open older version (or...