Gentoo Archives: gentoo-user-ru

From: Vladimir Rusinov <vladimir@×××××××××.info>
To: gentoo-user-ru@l.g.o
Subject: [gentoo-user-ru] Re: [gentoo-user-ru] Версия ядра и iptables
Date: Wed, 17 Nov 2010 11:04:48
Message-Id: AANLkTikzhcaQQ_VPLufpfc-j+fsjMbJVuE-77aFRnRPW@mail.gmail.com
In Reply to: [gentoo-user-ru] Версия ядра и iptables by Anton Ananich
1 2010/11/17 Anton Ananich <anton.ananich@×××××.com>
2
3 > Столкнулся с такой вот проблемой: есть ядро 2.6.28 и iptables 1.4.6,
4 > нужно сделать NAT.
5 >
6 > # uname -r
7 > 2.6.28-gentoo-r5
8 >
9 > # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
10 > FATAL: Module ip_tables not found.
11 > iptables v1.4.6: can't initialize iptables table `nat': Table does not
12 > exist (do you need to insmod?)
13 > Perhaps iptables or your kernel needs to be upgraded.
14 >
15
16 Не хватает поддержки nat в ядре, да и судя по всему вообще поддержки
17 iptables. Пересоберите ядро (можно ту же самую версию) как миниумум с
18 опциями CONFIG_NF_NAT=m и CONFIG_IP_NF_IPTABLES=m
19
20 --
21 Vladimir Rusinov
22 http://greenmice.info/