From: Pavel Shurubura <pvs@vdnet.ru>
To: community@altlinux.ru
Subject: Re: Re[2]: [Comm] Iptables чудеса
Date: Tue, 26 Oct 2004 17:05:28 +0400
Message-ID: <20041026170528.53dc4e3e.pvs@vdnet.ru> (raw)
In-Reply-To: <200410261119.10099.combr@vesna.ru>
On Tue, 26 Oct 2004 11:19:10 +0500
Mike Lykov <combr@vesna.ru> wrote:
> В сообщении от Вторник 26 Октябрь 2004 11:09 Polovnikov Denis
> написал:
>
> > >> Блин чудеса творятся просто жуть закрываю ip в тейбле
> > >всем кроме меня> -A FORWARD ! -s 192.168.12.200 -d
> > >209.8.101.130 -j DROP
>
> > Народ ходит в инет через НАТ я хочу закрыть для доступа этот
> > ip.
>
> читайте документацию! NAT и -A FORWARD никак не связаны.
>
Как это ?
первый пакет идёт через таблицу nat, остальные через FORWARD.
Просто надо писать так:
-A FORWARD -s ! 192.168.12.200 -d 209.8.101.130 -j DROP
(разница в расположении восклицательного знака ).
next prev parent reply other threads:[~2004-10-26 13:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 10:41 Polovnikov Denis
2004-10-25 20:32 ` scor
2004-10-26 6:09 ` Re[2]: " Polovnikov Denis
2004-10-26 6:19 ` Mike Lykov
2004-10-26 13:05 ` Pavel Shurubura [this message]
2004-10-26 14:09 ` Nick S. Grechukh
2004-10-28 13:58 ` Pavel Shurubura
2004-10-26 7:44 ` scor
2004-10-26 8:23 ` Re[2]: " Polovnikov Denis
2004-10-26 8:49 ` Nick S. Grechukh
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=20041026170528.53dc4e3e.pvs@vdnet.ru \
--to=pvs@vdnet.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