From: Denis Kirienko <kirienko@mccme.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Как настроить шлюз в инет?
Date: Thu, 16 Dec 2004 20:03:20 +0300
Message-ID: <20041216200320.3180786b.kirienko@mccme.ru> (raw)
In-Reply-To: <20041216194327.3ed1dbd4.kirienko@mccme.ru>
Получил Thu, 16 Dec 2004 19:43:27 +0300 от Denis Kirienko <kirienko@mccme.ru> следующее письмо:
> Правильно ли я понимаю, что
> # iptables -t nat -A POSTROUTING -o eth0 -j SNAT
> должно спасти (eth0 смотрит наружу)?
Спасибо,
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
помогло
Первый шаг сделан, а дальше будем думать и доки читать.
Некоторый ступор был, когда я смог отпинговать www.ya.ru,
но не смог окрыть его в IE. Оказалось, IE на Windows-машине
запрещен файрволом :)
А теперь такой вопрос. У меня сейчас в верхний свитч воткнут
ADSL-модем, локалка (не имеющая выхода в интернет) и несколько
компьютеров с белыми IP, то есть через свитч ходят пакеты двух
сетей: локалки и сети с белыми IP. Могу ли я поднять на сервере
на eth0 внешний IP, а на eth0:1 - внутренний IP и превратить его
в шлюз, хотя у него будет только одна сетевая карточка?
То есть пакет из локалки приходит на свитч, оттуда на сервер, тот
его через ту же карточку посылает через тот же свитч на модем.
Получится?
--
Денис
next prev parent reply other threads:[~2004-12-16 17:03 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-16 16:15 Denis Kirienko
2004-12-16 16:29 ` Jury Levykin
2004-12-16 16:43 ` Denis Kirienko
2004-12-16 17:03 ` Denis Kirienko [this message]
2004-12-16 20:34 ` Jury Levykin
2004-12-16 20:43 ` Denis Kirienko
2004-12-16 16:30 ` Alexey S. Kuznetsov
2004-12-16 16:35 ` Jury Levykin
2004-12-16 20:08 ` Re[2]: " Alexey S. Kuznetsov
2004-12-16 19:28 ` Sergey Vlasov
2004-12-17 5:59 ` Mike Lykov
2004-12-17 6:15 ` Шишков Евгений
2004-12-17 11:20 ` Re[2]: " Alexey S. Kuznetsov
2004-12-20 15:03 ` Andrey Rahmatullin
2004-12-20 16:28 ` [Comm] " Michael Shigorin
2004-12-20 22:33 ` [Comm] " Alexey S. Kuznetsov
2004-12-20 20:50 ` Denis Kirienko
2004-12-20 23:19 ` Alexey S. Kuznetsov
2004-12-22 13:49 ` [Comm] " Michael Shigorin
2004-12-21 9:55 ` [Comm] " Oleg Shulga
2004-12-21 5:01 ` Mike Lykov
2004-12-22 13:49 ` [Comm] iptables vs ipchains (was: Как настроить шлюз в инет?) Michael Shigorin
2004-12-22 14:13 ` [Comm] iptables vs ipchains Andriy Dobrovol's'kii
2004-12-22 14:25 ` Alexey Morsov
2004-12-22 14:47 ` Serge Polkovnikov
2004-12-22 14:53 ` Igor Solovyov
2004-12-22 14:59 ` Serge Polkovnikov
2004-12-22 15:00 ` Alexey I. Froloff
2004-12-22 15:43 ` [Comm] iptables vs ipchains [JT] Denis Kirienko
2004-12-22 15:00 ` [Comm] IA: iptables bolvanka, fixed version (was: iptables vs ipchains) Michael Shigorin
2004-12-22 16:22 ` Andrey Rahmatullin
2004-12-22 17:05 ` [Comm] dotfiles.com Michael Shigorin
2004-12-22 17:51 ` [Comm] IA: iptables bolvanka, fixed version (was: iptables vs ipchains) Maxim Tyurin
2004-12-22 15:30 ` [Comm] iptables vs ipchains (was: Как настроить шлюз в инет?) Alexey S. Kuznetsov
2004-12-22 15:39 ` Denis Kirienko
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=20041216200320.3180786b.kirienko@mccme.ru \
--to=kirienko@mccme.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