Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-12-2009, 10:53 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
Unhappy can't initialize iptables table `filter': Table does not exist...

When I try to use IPTABLES to secure some connections to SSH... :

# iptables -A INPUT -p tcp -s x.x.x.x -m tcp --dport 22 -m state --state NEW -m limit --limit 3/min --limit-burst 3 -j ACCEPT
iptables v1.4.2: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Using Debian Lenny (VPS).

Any Ideas ?

# apt-get install iptables
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Old 07-12-2009, 11:02 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Make sure iptables is configured in the kernel
grep -i iptables /boot/config-`uname -r`
If yes, try
modprobe ip_tables
Old 07-12-2009, 11:11 AM   #3
LQ Newbie
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Nvm... talk'd to admin and he said it's not enabled...

Last edited by sodek; 07-12-2009 at 11:18 AM.
Old 05-07-2012, 02:54 AM   #4
LQ Newbie
Registered: Oct 2006
Posts: 9

Rep: Reputation: 0
Lightbulb I am also facing same problem


I am also getting "Iptables v1.4.2 cab't initialize iptables with `filter': iptables who? ( do you need insmod? )".

My linux kernel version is linux
When I executed, I got
# `grep -i iptables /boot/linux.config`

Does your problem resolved.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables(marking) + ip rule add fwmark 1 table 200 + ip route add via GW table 200 ?? amitsharma_26 Linux - Networking 9 05-26-2010 06:42 AM
iptables: can't initialize iptables table `NAT' linuxgentoo Linux - Kernel 3 01-17-2010 10:15 AM
iptables-restore: unable to initialize table 'nat' R03L Fedora 1 10-26-2008 02:19 PM
iptables v1.3.8: can't initialize iptables table `filter' sebastien.lorandel Linux - Networking 11 09-22-2007 06:34 AM
filter /etc/messages for certain IP table entries don_wombat Linux - Software 0 12-14-2004 03:45 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration