On Mon, May 01, 2006 at 12:12:25PM +0200, Mick wrote:
> Hi All,
> 
> I just compiled kernel-2.6.16-gentoo-r3 and it now causes an iptables
> error when the machine boots.  Any ideas how I can fix it?

The kernel iptables implementation changed somewhat between 2.6.15 and
2.6.16. In particular, "make oldconfig" won't set things up
correctly. You'll need to run "make menuconfig", and check the
iptables section.

Note that you *will* need to compile in Xtables support as well as
iptables (Networking -> Networking Options ->
Network Packet Filtering -> Core Netfilter Configuration ->
Netfilter Xtables support).

If you use genkernel, I can't help you, since I don't.


> Here is some supporting information.
> 
> Boot error looks like this:
> =====================
> # /etc/init.d/iptables restart
> * Loading iptables state and starting firewall ...
> iptables-restore v1.3.4: iptables-restore: unable to initializetable 'nat'

This is because your new kernel doesn't have NAT compiled in. It
probably doesn't have any iptables support at all at the moment.

HTH,

Toby Cubitt
-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: [EMAIL PROTECTED]
web: www.dr-qubit.org
-- 
gentoo-user@gentoo.org mailing list

Reply via email to