Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptable trouble
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
etech
n00b
n00b


Joined: 02 Feb 2003
Posts: 6
Location: Denmark

PostPosted: Thu Feb 06, 2003 12:57 am    Post subject: iptable trouble Reply with quote

I have som trouble regarding iptables in webmin, it says:
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.

I have emerged the iptables, and recompiled my kernel and turned Network Packet Filtering on whích sould replace iptables.
Are their anything that im missing out on?
Back to top
View user's profile Send private message
KraziKid
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2002
Posts: 128

PostPosted: Thu Feb 06, 2003 4:38 am    Post subject: Reply with quote

You need to compile Netfilter support into the kernel, or as modules. Under "Networking options" enable "Network Packet Filtering (replaces ipchains)". Now scroll down in that screen to the sub-section labeled: "IP: Netfilter Configuration". Now hit enter on that. Now enable whatever you want/need in there. I personally enables all Netfilter options, and compiled directly into the kernel. I hope this helps.
Back to top
View user's profile Send private message
cyberfunk007
n00b
n00b


Joined: 11 Oct 2002
Posts: 23

PostPosted: Thu Feb 06, 2003 9:50 am    Post subject: Reply with quote

Hi,

I did what was suggested above, compiled the kernel with selected netfilter options etc... then emerged iptables, but I still receive the same error message??

please help 8O

Cheers

Cyber
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Thu Feb 06, 2003 11:39 am    Post subject: Reply with quote

KraziKid wrote:
I personally enables all Netfilter options, and compiled directly into the kernel.


All? including ipchains (for 2.2 kernels) and fwadm (for 2.0 kernels)?
Back to top
View user's profile Send private message
KraziKid
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2002
Posts: 128

PostPosted: Thu Feb 06, 2003 8:11 pm    Post subject: Reply with quote

axxackall wrote:
KraziKid wrote:
I personally enables all Netfilter options, and compiled directly into the kernel.


All? including ipchains (for 2.2 kernels) and fwadm (for 2.0 kernels)?


No, all iptables options.
Back to top
View user's profile Send private message
SeaPig
n00b
n00b


Joined: 18 Jun 2002
Posts: 70

PostPosted: Thu Feb 06, 2003 10:45 pm    Post subject: Reply with quote

did you compile them as modules?
I was having the same problem until i started building them as modules. I am not sure if I was doing somethig wrong or what.
Back to top
View user's profile Send private message
cyberfunk007
n00b
n00b


Joined: 11 Oct 2002
Posts: 23

PostPosted: Thu Feb 06, 2003 11:28 pm    Post subject: Reply with quote

No I built them into the kernel... Maybe I shoud compile them as modules because I re emerged iptables after I compiled it into the kernel, but modprobe was still looking for the iptables module... Ill give it ago tonight compiling as modules.
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Sun Feb 09, 2003 5:56 pm    Post subject: Reply with quote

I've recompiled all netfilter as modules (off all experimental, and off ipchains and ipfwadm), re-emerged iptables and now it works. Now it's time to find some good configuration examples for my DMZ gateway. BTW, any advise besides official netfilter and gentoo docs?
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