LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-01-2003, 02:36 PM   #1
moger
Member
 
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Rep: Reputation: 30
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?

Last edited by moger; 01-01-2003 at 02:38 PM.
 
Old 01-01-2003, 03:23 PM   #2
moger
Member
 
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick iptables Question... Darvocet Linux - Software 2 06-02-2005 02:35 PM
iptables syntax quick question abcampa Linux - Security 1 05-03-2005 09:03 AM
quick iptables question peok Linux - Networking 6 11-11-2003 03:34 PM
Quick iptables question... FlyingMoose Linux - Networking 2 08-02-2003 12:35 AM
Quick Q's on IPTables/Masq tarballed Linux - Security 5 12-15-2002 06:47 AM


All times are GMT -5. The time now is 11:56 AM.

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