The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iptables

Discussion in 'General Discussion' started by SHSaeed, Nov 2, 2002.

  1. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    We've been under attack recently and I would like to block IPs with iptables next time. I tried to add IPs but I get the following message, anyone who can help?

    [quote:7ce9b8283e]iptables v1.2.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.[/quote:7ce9b8283e]

    Thank you.
     
  2. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    try to do a :
    # /sbin/lsmod

    you should see two lines like :

    Module Size Used by Not tainted
    .....
    iptable_filter 2752 1 (autoclean)
    ip_tables 13792 1 [iptable_filter]
    .....

    if you dont have them, you should do the insmod
    # /sbin/insmod iptable_filter
    and/or
    # /sbin/insmod ip_tables

    Regards.
     
  3. SHSaeed

    SHSaeed Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Thanks, we're now using ipchains as it was already working on the server.
     
Loading...

Share This Page