LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Quick Iptables question (http://www.linuxquestions.org/questions/linux-general-1/quick-iptables-question-39990/)

moger 01-01-2003 01:36 PM

Quick Iptables question
 
Hi, I reconfigured my kernel (2.4.20) to include iptables support as a module. ip_tables was being used as a module when I "lsmod". However, when I issued the command "iptables -L", it gave me:

iptables v1.2.6a: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

So then I decided to recompile my kernel again with this time building iptables into the kernel. Same thing happens except this time it says:

[root@localhost mog]# /sbin/iptables -L
modprobe: Can't locate module ip_tables
iptables v1.2.6a: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Now it expects to see a module even though I built it into the kernel. Thoughts?

moger 01-01-2003 02:23 PM

Nevermind, I got it now. I just left out some things in the kernel that IPTables needed, such as the filter (or whatever they call it). And by skipping make modules; make modules_install, it stopped wanting the ip_tables module.


All times are GMT -5. The time now is 02:18 AM.