From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H7tQS-00036g-Ox for garchives@archives.gentoo.org; Fri, 19 Jan 2007 13:05:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0JD2lWU010328; Fri, 19 Jan 2007 13:02:47 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0JCuRpr004359 for ; Fri, 19 Jan 2007 12:56:28 GMT Received: by wx-out-0506.google.com with SMTP id i30so810380wxd for ; Fri, 19 Jan 2007 04:56:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=r2w5FtNfuaqVoLW2Og6LWOuazMSyF04k6o911nfhx4vM1chSN5A0IcUoUXmrEw0G+qC90dfG8SdqOQx1hg9wSQGD27ZKvcOk4q500m/jIvXw0RD8/JH6uTtY2EjpW5RfgInslBKOIMSYdv2jfH/Wiu57ey1ASkMFGmrd4EtjQsQ= Received: by 10.90.105.20 with SMTP id d20mr2759449agc.1169211387000; Fri, 19 Jan 2007 04:56:27 -0800 (PST) Received: by 10.90.63.14 with HTTP; Fri, 19 Jan 2007 04:56:26 -0800 (PST) Message-ID: <6c6bf1720701190456s6274587du21791c2c70d7abe9@mail.gmail.com> Date: Fri, 19 Jan 2007 08:56:26 -0400 From: "Pete Pardoe" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Iptables In-Reply-To: <200701191310.37991.alan@linuxholdings.co.za> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_146244_634743.1169211386945" References: <5b9fec570701180758w26d22b98sbd5c85cfd332123d@mail.gmail.com> <200701191310.37991.alan@linuxholdings.co.za> X-Archives-Salt: c2af7384-52a4-4638-b450-c8060226b5bd X-Archives-Hash: de085e7d9f971c2e79d5c022325c91d3 ------=_Part_146244_634743.1169211386945 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Alan IPTables support must be compiled into the kernel. I am not in front of my gentoo system so cannot help you find the location in "make menuconfig" bu= t if you poke around you should be able to locate it. Pete On 1/19/07, Alan McKinnon wrote: > > On Thursday 18 January 2007 17:58, Fabr=EDcio L. Ribeiro wrote: > > How can I install and run iptables (with conntrack and all other > > modules) in a Gentoo 2006.1 box with kernel generated by genkernel? > > > > I tried "emerge iptables", but when I type "iptables -F" I get > > something like this: > > > > FATAL: Module ip_tables not found. > > iptables v1.3.5: can't initialize iptables table `filter': iptables > > who? (do you need to insmod?) > > Perhaps iptables or your kernel needs to be upgraded. > > genkernel uses a standard .config the first time you use it on a kernel > version. In the kernel sources, all the netfilter options are disabled > by default, and you MUST enable them via menuconfig. > > Did you perhaps omit this step? > > alan > > > -- > gentoo-user@gentoo.org mailing list > > --=20 Pete Pardoe ------=_Part_146244_634743.1169211386945 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Alan

IPTables support must be compiled into the kernel.  I am n= ot in front of my gentoo system so cannot help you find the location in &qu= ot;make menuconfig"  but if you poke around you should be able to= locate it.

Pete

On 1/19/07, Alan McKinnon <alan@linuxholdings.co.za> wrote:
On Thursday 18 January 2007 17:58, Fabr=EDcio L. Ribeiro wrote:
> How= can I install and run iptables (with conntrack and all other
> modul= es) in a Gentoo 2006.1 box with kernel generated by genkernel?
>
> I tried "emerge iptables", but when I type "iptables -F= " I get
> something like this:
>
> FATAL: Module ip_= tables not found.
> iptables v1.3.5: can't initialize iptables ta= ble `filter': iptables
> who? (do you need to insmod?)
> Perhaps iptables or your ker= nel needs to be upgraded.

genkernel uses a standard .config the firs= t time you use it on a kernel
version. In the kernel sources, all the ne= tfilter options are disabled
by default, and you MUST enable them via menuconfig.

Did you per= haps omit this step?

alan


--
gentoo-user@gentoo.org mailing list




--
Pete Pardoe ------=_Part_146244_634743.1169211386945-- -- gentoo-user@gentoo.org mailing list