Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007
    Posts
    83

    * I need limit connections per IP

    I need limit connections per IP on port 80 using IPTables, but I see error -


    Code:
     [[email protected] ~]# iptables -A INPUT-p tcp --dport 80 -m iplimit --iplimit-above 10 -j REJECT
    
    Bad argument `tcp'
    Try `iptables -h' or 'iptables --help' for more information.
    Please help me limit IP connections on port 80
    I use REDHAT Enterprise 5.1 i686 / Cpanel/WHM / Apache 2.2 / iptables v1.3.5

    Thank you!

  2. #2
    Join Date
    Jun 2007
    Location
    Athens, Greece
    Posts
    57
    You need a space between "INPUT-p".
    foutrelis.com | meow ('-')

  3. #3
    Join Date
    May 2007
    Posts
    83
    Thank you for your answer

    but I see another error after do this
    [[email protected] ~]# iptables -A INPUT -p tcp --dport 80 -m iplimit --iplimit-above 10 -j
    REJECT
    iptables v1.3.5: Couldn't load match `iplimit':/lib/iptables/libipt_iplimit.so: cannot op
    en shared object file: No such file or directory

    Try `iptables -h' or 'iptables --help' for more information.

  4. #4
    Join Date
    May 2007
    Posts
    83
    Please help me, I need limit IP connections..

  5. #5
    I think it should be -m limit or -m connlimit. iptables is dynamic loading share library from /lib/iptables directory. Try to google for iptables limit and iptables connlimit for more information.

Posting Permissions

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