From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm] Re: iptables & POSTROUTING
Date: Thu, 17 Apr 2003 18:33:14 +0400
Message-ID: <20030417183314.3f9211c6.vsu@altlinux.ru> (raw)
In-Reply-To: <200304171701.25835.viclists@mail.esoo.ru>
On Thu, 17 Apr 2003 17:01:25 +0600
vic ismakaev <viclists@mail.esoo.ru> wrote:
> 17 Апрель 2003 16:46, Alex Khroustalev написал:
> > В Чтв, 17.04.2003, в 14:34, vic ismakaev пишет:
> > > Приветствую!
> > > Вот напоролся на такую вещь и не могу никак побороть:
> > > делаю правило
> > > iptables -A POSTROUTING -s 192.168.1.0/255.255.255.0 -o eth0 -j SNAT
> > > --to-source my-real-ip
> > > получаю
> > > iptables: No chain/target/match by that name
> > > Причем ругань на отсутвие POSTROUTING цепочки я получаю при любых
> > > targets(пробовал и -j LOG,-j ULOG,-j ACCEPT).
> > >
> > > Может мне кто подсказать в каких случаях это случается?
> >
> > Вы же не указали таблицу.
> > нужно
> > iptables -t nat -A POSTROUTING -s 192.168.1.0/255.255.255.0 -o eth0 -j
> > SNAT
> > --to-source my-real-ip
> Весь фокус в том,что я делал так(добавлял -t nat), а в ответ получал invalid
> argument :(
> Правда перед этим я довольно интенсивно экспериментировал с ядерными
> модулями,причем в течении нескольких дней,сносил/ставил разные версии
> iptables и ipt_ модули, дошел даже до того,что собирал
> iptables(-restore,-save) динамически линкующимися ,вообщем получиллся ужасный
> винегрет.А машину при этом ни разу не перегружал.Может что-то и напортачил
> при этом.
Надо приводить в соответствие версии iptables и ядра - иначе что
угодно может не работать (в зависимости от того, какие патчи
накладывались на ядро, меняется формат данных для различных модулей
iptables).
next prev parent reply other threads:[~2003-04-17 14:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-17 10:34 [Comm] " vic ismakaev
2003-04-17 10:46 ` Alex Khroustalev
2003-04-17 11:01 ` vic ismakaev
2003-04-17 14:33 ` Sergey Vlasov [this message]
2003-04-17 15:15 ` [Comm] " vic ismakaev
2003-04-17 13:54 ` [Comm] " Afanasev Denis
2003-04-17 14:06 ` Igor Solovyov
2003-04-17 14:22 ` Re[2]: " Afanasev Denis
2003-04-17 14:41 ` vic ismakaev
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=20030417183314.3f9211c6.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git