SHSaeed

Well-Known Member
May 9, 2002
243
0
316
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.
 

cass

Well-Known Member
Jul 17, 2002
349
0
166
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.
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
Thanks, we're now using ipchains as it was already working on the server.