From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] второй ip+iptables
Date: Tue, 31 Aug 2004 01:11:37 +1100
Message-ID: <20040831011137.2644763c.dima@sakhalin.ru> (raw)
In-Reply-To: <1787040417.20040830171719@instep.spb.ru>
On Mon, 30 Aug 2004 17:17:19 +0400
Nikita Semenov <nsemenov@instep.spb.ru> wrote:
> Здравствуйте.
> Сделан второй ip на один интерфейс (eth0:1). Надо теперь
> его разрулить в iptables. Как на него ссылаться? Прям вот
> "eth0:1" если поставить, говорит странный символ...
iptables умеет только те устройства, через которые идут
пакеты. Через алиасы пакеты не ходют. Ссылайся типа так:
'-d aaa.bbb.ccc.ddd. -i eth0' - все пакеты идущие через
eth0 адрес aaa.bbb.ccc.ddd. '-d aaa.lli.aaa.sss -i eth0'
- всё, что идет на алиас.
--
WBR, Dmitry Lebkov
prev parent reply other threads:[~2004-08-30 14:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 13:17 Nikita Semenov
2004-08-30 14:11 ` Dmitry Lebkov [this message]
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=20040831011137.2644763c.dima@sakhalin.ru \
--to=dima@sakhalin.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