Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel upgrade broke NAT
Date: Fri, 22 Feb 2008 16:22:37
Message-Id: 49bf44f10802220822i1fa775c8i6c4f5aca0076c691@mail.gmail.com
In Reply to: Re: [gentoo-user] Kernel upgrade broke NAT by Rumen Yotov
1 > > I upgraded my router's kernel from linux-2.6.18-hardened-r6 to
2 > > linux-2.6.23-hardened-r7 and now I get errors when starting the
3 > > firewall:
4 > >
5 > > "requires NAT which is disabled"
6 > >
7 > > ERROR: Command "/sbin/iptables -A FORWARD -m state --state
8 > > ESTABLISHED,RELATED -j ACCEPT" Failed
9 > >
10 > > I used make oldconfig carefully to update the config. I've been back
11 > > over the current config carefully but I don't see what went wrong.
12 > > Does anyone have any ideas?
13 > >
14 > > - Grant
15 > > --
16 > > gentoo-user@l.g.o mailing list
17 > >
18 > Hi,
19 >
20 > Too bad that 'oldconfig' isn't always working :-(
21
22 Is there a better way to update the config for a new kernel?
23
24 > Specially from something 2.6.17-18 to > 20.
25 > Manually check your kernel config (enable NAT etc)
26 > IIRC the netwoking sections moved, so much stuff is disabled by default.
27 > Also recompile iptables, just to be on the safe side.
28 > HTH. Rumen
29
30 Looks like I got it, thank you.
31
32 - Grant
33 --
34 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Kernel upgrade broke NAT Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Kernel upgrade broke NAT Peter Humphrey <peter@××××××××××××××.org>