Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPTABLES!!! Please
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
ElzWhere
n00b
n00b


Joined: 13 Oct 2002
Posts: 26
Location: Seattle

PostPosted: Mon Oct 21, 2002 10:22 am    Post subject: IPTABLES!!! Please Reply with quote

I've read all kinds of howto's on iptables netfilters and everthing....this is my first time setting iptables up on gentoo and im getting this same damn error message.. ip_tables not found.

/lib/modules/2.4.19-gentoo-r9/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
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.


please oh please help me with this! would like to get my internal Network working.

if anyone could show me the steps on gentoo, or kernel .config for theres once again please. I love this distro and would hate to put slackware back on because of this problem...anything could help. thanx ElzWhere
Back to top
View user's profile Send private message
fyerk
Apprentice
Apprentice


Joined: 17 Sep 2002
Posts: 212
Location: Atlanta, GA

PostPosted: Mon Oct 21, 2002 12:02 pm    Post subject: Reply with quote

Did you compile Netfilter support in as a module or directly into the kernel?
_________________
-David
Back to top
View user's profile Send private message
ElzWhere
n00b
n00b


Joined: 13 Oct 2002
Posts: 26
Location: Seattle

PostPosted: Mon Oct 21, 2002 9:34 pm    Post subject: IPTABLES Reply with quote

At first i added them directly to the kernel, but then followed a tutorial on the forum and added them as modules....currently they are added as modules. but im not able to load ip_tables.o or filter as a modules using insmod of modprobe each time they fail. The tutorial i read had me load a bunch of modules in the network options, some i had no clue of what they did. All i want is a simple ipmasq with tables to allow my internal network internet access. Like i said i've done this with slackware, im just trying to get used to gentoo's file structure. Anything will help.

ElzWhere
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 21, 2002 9:57 pm    Post subject: Reply with quote

Probably a silly question, but did you make sure to mount /boot when copying newly compiled kernels over and/or to run "make modules_install" after specifying new modules to be built?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ElzWhere
n00b
n00b


Joined: 13 Oct 2002
Posts: 26
Location: Seattle

PostPosted: Mon Oct 21, 2002 11:07 pm    Post subject: Reply with quote

lol yeah i made sure :)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 21, 2002 11:31 pm    Post subject: Reply with quote

Well, then something doesn't make sense. If you have CONFIG_NETFILTER=y (or m with automatic module loading), like edge mentioned, then how could iptables not find it?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
dingo
n00b
n00b


Joined: 18 Aug 2002
Posts: 58

PostPosted: Tue Oct 22, 2002 3:41 am    Post subject: Reply with quote

it happens sometimes that if you compile a kernel without netfilter/iptables then add it in later some things get screwey I think theres a thread about this elsewhere, but I'm lazy. Backup your .config, 'make mrproper', then copy back and start over.
Back to top
View user's profile Send private message
maxx^hjb
n00b
n00b


Joined: 19 Oct 2002
Posts: 8

PostPosted: Tue Oct 22, 2002 10:22 am    Post subject: Reply with quote

I had no problems initialy running iptabales, but after activating more Targets and Filters in the Kernel I had to re-emerge iptables to make iptables recognizing the kernel changes...

...dont know if this may also help here.

helles!

mAxx
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