public inbox for gentoo-user-ru@lists.gentoo.org
 help / color / mirror / Atom feed
From: Vladimir Rusinov <vladimir@greenmice.info>
To: gentoo-user-ru@lists.gentoo.org
Subject: [gentoo-user-ru] Re: [gentoo-user-ru] Версия ядра и iptables
Date: Wed, 17 Nov 2010 13:10:25 +0300	[thread overview]
Message-ID: <AANLkTikzhcaQQ_VPLufpfc-j+fsjMbJVuE-77aFRnRPW@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=UM1Fi_8sjpXxBgJnF9EUFMnUF+=3Siqogf-TS@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

2010/11/17 Anton Ananich <anton.ananich@gmail.com>

> Столкнулся с такой вот проблемой: есть ядро 2.6.28 и iptables 1.4.6,
> нужно сделать NAT.
>
> # uname -r
> 2.6.28-gentoo-r5
>
> # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> FATAL: Module ip_tables not found.
> iptables v1.4.6: can't initialize iptables table `nat': Table does not
> exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>

Не хватает поддержки nat в ядре, да и судя по всему вообще поддержки
iptables. Пересоберите ядро (можно ту же самую версию) как миниумум с
опциями CONFIG_NF_NAT=m и CONFIG_IP_NF_IPTABLES=m

-- 
Vladimir Rusinov
http://greenmice.info/

[-- Attachment #2: Type: text/html, Size: 1179 bytes --]

  parent reply	other threads:[~2010-11-17 11:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  9:48 [gentoo-user-ru] Версия ядра и iptables Anton Ananich
2010-11-17 10:06 ` [gentoo-user-ru] " Edward Hades
2010-11-17 10:10 ` Vladimir Rusinov [this message]
2010-11-17 10:19 ` Vanush Misha Paturyan
2010-11-17 10:47 ` Dmitry Pisarev
2010-11-17 11:00 ` Andrew A. Sabitov
2010-11-17 11:22   ` [gentoo-user-ru] " Anton Ananich
2010-11-17 12:50     ` [gentoo-user-ru] " Vladimir Rusinov
2010-11-17 15:41     ` Andrew A. Sabitov
2010-11-19  6:35       ` [gentoo-user-ru] " Anton Ananich
2010-11-17 11:12 ` Nikita Kipriyanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikzhcaQQ_VPLufpfc-j+fsjMbJVuE-77aFRnRPW@mail.gmail.com \
    --to=vladimir@greenmice.info \
    --cc=gentoo-user-ru@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox