From: "Алексей Карпов" <aakarpov@gmail.com>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Организация доступа в Интернет
Date: Fri, 5 Feb 2010 20:10:59 +0500
Message-ID: <201002052010.59792.aakarpov@gmail.com> (raw)
In-Reply-To: <817934600.20100205165752@gmail.com>
В сообщении от Пятница 05 февраля 2010 18:57:52 автор Anatol B. Bazyukin
написал:
> Здравствуйте, ALT.
>
> Необходимо организовать доступ компьютеров из локальной сети в
> интернет через NAT при условии
> провайдер выделяет IP адрес - роутеру (может быть реальным или из его
> внутренней сети) и IP адрес, который и должен использовать NAT.
> Где можно посмотреть решение - ежели кто встречал таковое?
Нужны подробности. Но если попробовать телепатию - у Вас будет VPN-соединение
для выхода в интернеты (точнее - для выхода за пределы сегмента внутренней
сети провайдера). Тогда решение, подсказанное рядом, почти верно - в конце
строчки не -j SNAT [blabla], а -j MASQUERADE.
Для осознания происходящего (и в чём разница) - традиционно - man iptables,
там вполне доступно.
next prev parent reply other threads:[~2010-02-05 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-05 13:57 Anatol B. Bazyukin
2010-02-05 15:10 ` Алексей Карпов [this message]
2010-02-05 15:12 ` Anton Farygin
2010-02-06 9:37 ` Anatol B. Bazyukin
2010-02-06 19:54 ` Anton Farygin
2010-02-06 7:35 ` Alexey Borovskoy
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=201002052010.59792.aakarpov@gmail.com \
--to=aakarpov@gmail.com \
--cc=sysadmins@lists.altlinux.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
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git