Results 1 to 18 of 18
  1. #1
    Join Date
    Jul 2008
    Posts
    17

    Exclamation How to Configure CSF Firewall In VPS?

    Hi,

    I have installed Latest CSF firewall 4.77V . I`am find Bit difficult in configuring the CSF Firewall Can anybody please provide best CSF Configuration.

    Advance Thank You,

  2. #2
    Join Date
    Sep 2007
    Posts
    815
    You have to go here: http://www.configserver.com/
    All things work together for the good of those who love God - Romans 8:28

  3. #3
    Join Date
    Feb 2004
    Location
    USA
    Posts
    1,572
    Try there forum, they have very helpful members

    http://forum.configserver.com/

    Do you have controlpanel (cPanel/Plesk) installed on the VPS?

    And which VPS software? Virtuozzo?

    Cheers

  4. #4
    You can see a "readme" file in your csf installation directory.

  5. #5
    Join Date
    Jul 2008
    Posts
    17
    Hi,

    I`am having Virtuozzo With Cpanel Installed in the VPS. CSF Firewall Iptables are conflicting with Virtuozzo firewall .

    When i restart Virtuozzo Both Firewalls work fine . When i restart CSF Firewall All services are blocked . Even My Main node is not responding Along With SSH Access..

    Please I need a perfect Configuration of CSF on Virtuozzo VPS . Can Any help me with these issues

    Thank You

  6. #6
    Join Date
    Apr 2009
    Location
    Athens,Greece
    Posts
    107
    Quote Originally Posted by adminpaul View Post
    You can see a "readme" file in your csf installation directory.
    how can you see this file from shell which is the comand line?
    Also when the csf is installed on cpanel does brute protection has to be off?
    k-planethost
    shared hosting,reseller vps at http://k-planet.gr

  7. #7
    Join Date
    Sep 2007
    Posts
    815
    Quote Originally Posted by SarKarRaj View Post
    Hi,

    I`am having Virtuozzo With Cpanel Installed in the VPS. CSF Firewall Iptables are conflicting with Virtuozzo firewall .

    When i restart Virtuozzo Both Firewalls work fine . When i restart CSF Firewall All services are blocked . Even My Main node is not responding Along With SSH Access..

    Please I need a perfect Configuration of CSF on Virtuozzo VPS . Can Any help me with these issues

    Thank You
    the instructions in CSF website does not help: http://forum.configserver.com/showthread.php?t=212 I tried doing that in an OpenVZ VPS and VPS is still blocking all connections. If CSF is disabled server can be accessed. If its enable NO ONE can access the VPS. I don't know what to do also.

    I tried to enable CSF in SSH to see where it's stopping:

    csf --enable
    Running /etc/csf/csfpre.sh
    DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:67
    DROP udp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:67
    After that the server no longer works
    Last edited by sharmaine1111; 09-21-2009 at 03:59 AM.
    All things work together for the good of those who love God - Romans 8:28

  8. #8
    Make sure that the APF + BFD are disabled on the server before starting the installation.
    SUPPORT FACILITY | 24/7 TECH SUPPORT
    SERVER MANAGEMENT | WEB HOSTING SUPPORT | WP EXPERTS

  9. #9
    Join Date
    Sep 2007
    Posts
    815
    I know now what this is. Im pretty sure there is something wrong with the vps node (not your vps). You have to contact your host. Usually its iptables modules problem in the vps node.
    All things work together for the good of those who love God - Romans 8:28

  10. #10
    Join Date
    Apr 2009
    Location
    Athens,Greece
    Posts
    107
    i install csf on the vps sussesfully
    for the moment i dont see any issues
    first of all how can i adjust the cpanel login fails that the customer can have before the firewall block the ip .
    what do i mean say as an example somebody try to login 3 times unsussesfylly and firewall blocks thee ip after.
    also the period that the ip will be blocked how many hoyrs
    k-planethost
    shared hosting,reseller vps at http://k-planet.gr

  11. #11
    Join Date
    Jun 2008
    Location
    India
    Posts
    130
    got to csf.config file and change the following values,



    #[*]Enable login failure detection of cpanel, webmail and whm connections
    LF_CPANEL = "5"
    LF_CPANEL_PERM = "1"

  12. #12
    Join Date
    Apr 2009
    Location
    Athens,Greece
    Posts
    107
    i had observe since i had installed csf the most of the times the vps is overloaded.
    especially the dynamic sites joomla forums
    before the server was about 0.70 0.80 load today is about 6-7 load and as a result takes ages for the pages to load.
    Does it requires any special adjustments that thing?
    k-planethost
    shared hosting,reseller vps at http://k-planet.gr

  13. #13
    Join Date
    Jul 2008
    Location
    United Kingdom
    Posts
    149
    Have you tried looking at the security level, usually this indicates what you need to do. Are you operating cPanel/WHM?

  14. #14
    Join Date
    Aug 2008
    Posts
    511

    Arrow

    Firewall Security Level what it should be? Low, Medium or High

    Currently it is low.

    i am using VPS Virtuozzo
    cPanel 11.25.0-R44718
    WHM 11.25.0 - X 3.9
    CENTOS 5.4 i686 virtuozzo

  15. #15
    Join Date
    Jan 2010
    Location
    SL
    Posts
    163
    the higher the level is,more secure your vps would be,so keep it to the highest level

  16. #16
    Join Date
    Oct 2004
    Posts
    30
    There is no "best" configuration.

    What configuration you should use depends on what services you need to provide and what your security needs are. Those are things that only you know.

  17. #17
    Join Date
    Aug 2008
    Posts
    511

    Arrow

    more suggestions are require

  18. #18
    Join Date
    Mar 2009
    Posts
    66
    I too am facing a similar issue. In my case there is an issue with ftp. Login works but it fails in retrieving directory. Help.

Similar Threads

  1. How to configure a firewall to let only Exim connect via port 25 ??
    By glace in forum Hosting Security and Technology
    Replies: 1
    Last Post: 02-20-2008, 03:59 PM
  2. $$ to the person who can configure my Godaddy firewall/server (PLESK)
    By andheresjohnny in forum Employment / Job Offers
    Replies: 2
    Last Post: 01-03-2008, 04:56 PM
  3. Configure Win 2003 Server Firewall?
    By GigaByteSolutions in forum Hosting Security and Technology
    Replies: 0
    Last Post: 04-30-2005, 11:24 AM
  4. APF firewall. Daily automated email showing firewall status
    By Charles Sweeney in forum Hosting Security and Technology Tutorials
    Replies: 0
    Last Post: 06-24-2004, 04:18 PM
  5. Trying to configure server firewall
    By lexington in forum Hosting Security and Technology
    Replies: 3
    Last Post: 03-09-2004, 12:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •