Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables not loaded in the kernel or as modules
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
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Fri Dec 06, 2002 9:31 am    Post subject: iptables not loaded in the kernel or as modules Reply with quote

bash-2.05a# 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.

is there a way for me to get the modules and load them without recompiling the kernel
thanx
Back to top
View user's profile Send private message
flanksteak
n00b
n00b


Joined: 27 May 2002
Posts: 49
Location: Seattle

PostPosted: Fri Dec 06, 2002 9:39 am    Post subject: Reply with quote

Quote:
is there a way for me to get the modules and load them without recompiling the kernel

No.
Back to top
View user's profile Send private message
ashkar
n00b
n00b


Joined: 26 Sep 2002
Posts: 48

PostPosted: Fri Dec 06, 2002 2:30 pm    Post subject: Reply with quote

i'm not sure if you've even tried compiling the kernel to support iptables, but if you read have, this post might help.
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Fri Dec 06, 2002 5:19 pm    Post subject: Reply with quote

thanx guys, compiling gentoo-sources is another trip for me , right now i am using vanilla-sources .I'll have to redo it i guess , but please dont stop this tread
Back to top
View user's profile Send private message
Namor
n00b
n00b


Joined: 14 Jun 2002
Posts: 43
Location: Madison, WI US

PostPosted: Fri Dec 06, 2002 9:28 pm    Post subject: Reply with quote

You don't have to use gentoo-sources to get iptables. Vanilla-sources will work just fine.
Back to top
View user's profile Send private message
ashkar
n00b
n00b


Joined: 26 Sep 2002
Posts: 48

PostPosted: Sat Dec 07, 2002 4:15 am    Post subject: Reply with quote

ok, sorry, i didn't really get a grasp on your question earlier. now that i understand, i can hopefully provide some decent pointers to information.

www.netfilter.org is a great place to look for information about iptables, they have tons of information about iptables and setting up firewalls. also, the gentoo documentation here is great text on setting up a firewall.

as for actually compiling the kernel, the masquerading how-to(check section 2.6) is very in depth on the modules needed for iptables. since masquerading is a function of iptables, most of what you need to know will be covered in here. you can just ignore the masquerading stuff and focus on the rest. it was my guiding light when i was setting up my router.

good luck
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