View previous topic :: View next topic |
Author |
Message |
ElzWhere n00b
Joined: 13 Oct 2002 Posts: 26 Location: Seattle
|
Posted: Mon Oct 21, 2002 10:22 am Post subject: IPTABLES!!! Please |
|
|
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 |
|
|
fyerk Apprentice
Joined: 17 Sep 2002 Posts: 212 Location: Atlanta, GA
|
Posted: Mon Oct 21, 2002 12:02 pm Post subject: |
|
|
Did you compile Netfilter support in as a module or directly into the kernel? _________________ -David |
|
Back to top |
|
|
ElzWhere n00b
Joined: 13 Oct 2002 Posts: 26 Location: Seattle
|
Posted: Mon Oct 21, 2002 9:34 pm Post subject: IPTABLES |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Oct 21, 2002 9:57 pm Post subject: |
|
|
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 |
|
|
ElzWhere n00b
Joined: 13 Oct 2002 Posts: 26 Location: Seattle
|
Posted: Mon Oct 21, 2002 11:07 pm Post subject: |
|
|
lol yeah i made sure |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Oct 21, 2002 11:31 pm Post subject: |
|
|
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 |
|
|
dingo n00b
Joined: 18 Aug 2002 Posts: 58
|
Posted: Tue Oct 22, 2002 3:41 am Post subject: |
|
|
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 |
|
|
maxx^hjb n00b
Joined: 19 Oct 2002 Posts: 8
|
Posted: Tue Oct 22, 2002 10:22 am Post subject: |
|
|
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 |
|
|
|