Results 1 to 8 of 8
  1. #1

    Limiting http connections in whm


    Is there any way to limit the connections per ip in whm or cpanel? I searched but couldn't found any solution.

    Any help would be much appreciated.

    P.s: Normally how many connections/ip do you think is normal on a busy site?


  2. #2
    Join Date
    Apr 2009

    CSF can do that for you, normal limit is something 25-30, actually it can be even 5 connections but definitely not more than 30

  3. #3
    sorry for the dumb question what is CSF?

  4. #4
    Join Date
    Apr 2009
    It stands for Config, Security, Firewall - Here you go:
    AFAIK it can be handled via cPanel. BTW what OS are you using? Centos I assume? On FreeBSD it can be done in much much less actions.

    CSF will check number of connections every amount of time you will set in config and will add to temporary (or permanent) ban.

    Gosh...hope I was understandable? Because I'm not sure about it now))

  5. #5
    I have ConfigServer Security&Firewall in whm i looked at the main options but couldn't found any ip limitation option. Can you guide me where to set this option?

  6. #6
    Join Date
    Apr 2009
    Open your /etc/csf/csf.conf with your favorite text editor, find following line:

    # Connection Tracking. This option enables tracking of all connections from IP

    Main parameters are:


    There is a comment before every settings which explains what that setting states for. You should be able to set up your csf without any problems.

    Oh, do not forget to restart your csf!:

    csf -r

    in the console

  7. #7
    Thank you for the help. I am going to test it

  8. #8
    Join Date
    Apr 2009

    You're welcome =)

Similar Threads

  1. Godaddy limiting connections
    By bern4rd in forum Web Hosting
    Replies: 8
    Last Post: 07-26-2006, 12:38 AM
  2. Limiting no. of connections
    By ChannelDosti in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-05-2005, 07:12 AM
  3. Limiting Max Number of Connections per IP
    By Kakashi in forum Hosting Security and Technology
    Replies: 2
    Last Post: 04-29-2004, 09:40 AM
  4. Limiting http connections to a server?
    By LMS MIS in forum Programming Discussion
    Replies: 6
    Last Post: 11-05-2003, 11:40 PM
  5. Limiting http connections to a server?
    By LMS MIS in forum Dedicated Server
    Replies: 2
    Last Post: 11-05-2003, 12:13 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