Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ip_tables module not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nihilo
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 168
Location: berkeley, ca, usa

PostPosted: Sat Nov 30, 2002 6:32 am    Post subject: ip_tables module not found Reply with quote

I have "Network packet filtering" built into my kernel, but when I try to start IPTables, it complains:
Code:

root@localhost linux # iptables -L
modprobe: Can't locate module ip_tables
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
root@localhost linux #


Is there another kernel option that I need to select? I looked through the networking section and didn't anything about iptables, just the 'network packet filtering' which I selected.
Back to top
View user's profile Send private message
xpunkrockryanx
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2002
Posts: 87
Location: College Place, WA, USA

PostPosted: Sat Nov 30, 2002 7:59 am    Post subject: Reply with quote

maybe you need to "emerge iptables"?

as far as your kernel goes, check these places from "make menuconfig":

under "Networking Options" make sure to say "y" to "Network packet filtering (replaces ipchains)". You'll then have the option below for "IP: Netfilter Configuration --->". Open that one up and turn on the appropriate options there.

Post here again if you're not sure which iptables support options you need.

-ryan
Back to top
View user's profile Send private message
nihilo
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 168
Location: berkeley, ca, usa

PostPosted: Sat Nov 30, 2002 9:12 am    Post subject: Reply with quote

xpunkrockryanx wrote:
maybe you need to "emerge iptables"?

as far as your kernel goes, check these places from "make menuconfig":

under "Networking Options" make sure to say "y" to "Network packet filtering (replaces ipchains)". You'll then have the option below for "IP: Netfilter Configuration --->". Open that one up and turn on the appropriate options there.

Post here again if you're not sure which iptables support options you need.

-ryan


Thanks for the help. The problem was that I had missed the Netfilter Configuration sub-options, thinking that I was already seeing the sub-options below. I'm recompiling now, and hopefully that will do it.
Back to top
View user's profile Send private message
ashu
n00b
n00b


Joined: 01 Dec 2002
Posts: 1

PostPosted: Sun Dec 01, 2002 5:15 pm    Post subject: Reply with quote

Please post back if you are successful. I compiled the kernel with the proper options and I am having the same problem that you are having. I am trying to setup a home network with a Gentoo server and an XP client.
Back to top
View user's profile Send private message
nihilo
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 168
Location: berkeley, ca, usa

PostPosted: Tue Dec 03, 2002 6:43 am    Post subject: success Reply with quote

I didn't have time to reboot with the new kernel until today, but I recompiled with the options mentioned above, and iptables works fine now.

Incidentally, to anybody else who wants an easy gui interface for creating a basic firewall, check out kmyfirewall (if you're running kde) in portage.
Back to top
View user's profile Send private message
xpunkrockryanx
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2002
Posts: 87
Location: College Place, WA, USA

PostPosted: Tue Dec 03, 2002 3:06 pm    Post subject: Reply with quote

glad to hear that got it working for ya, and thanks for the tip :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum