Ken Moffat wrote:
On Mon, Mar 09, 2015 at 06:33:35PM +0000, Richard Melville wrote:
I've just upgraded from kernel 3.15 to 3.19.1 and iptables fails on boot
with:-
"can't initialize iptables table `nat': Table does not exist (do you need
to insmod?) Perhaps iptables or your kernel needs to be upgraded."
I receive the same message for ip6tables. I'm using the latest version
1.4.21. I rebuilt and reinstalled iptables but to no avail.
I always build static kernels so it's not a module issue. I used the same
.config with the new kernel, and I've checked /proc/config.gz, which looks
the same as before. When I reboot the box with the old kernel image
iptables and ip6tables come up just fine.
Any help would be much appreciated before i tear out my remaining hair. It
must be something simple that I've overlooked.
Richard
Does it fail, or does it spit out an error message as if it failed,
but actually still works ?
I don't use the book's rc.iptables. I can _vaguely_ remember that
these sort of messages started to appear with an unpgrade to an -rc
kernel, but my notes from last year do not mention it.
If it is indeed not working, look in menuconfig - there have been a
number of changes to the netfilter/iptables options in recent
kernels, and everything new probably defaults to 'N'. I suppose it
is also possible that one of these cannot be built in.
I cound 78 options in the kernel configuration for netfilter. For just nat, I
have:
ONFIG_NF_NAT=y
CONFIG_NF_NAT_NEEDED=y
CONFIG_NF_NAT_PROTO_DCCP=y
CONFIG_NF_NAT_PROTO_UDPLITE=y
CONFIG_NF_NAT_PROTO_SCTP=y
CONFIG_NF_NAT_AMANDA=y
CONFIG_NF_NAT_FTP=y
CONFIG_NF_NAT_IRC=y
# CONFIG_NF_NAT_SIP is not set
# CONFIG_NF_NAT_TFTP is not set
CONFIG_NF_NAT_REDIRECT=y
CONFIG_NF_TABLES=y
# CONFIG_NF_TABLES_INET is not set
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page