From: Andrey Brindeew <abr@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] компьютер - роутер для stream
Date: Sun, 7 Nov 2004 22:07:51 +0300
Message-ID: <20041107190751.GA22304@abr.pp.ru> (raw)
In-Reply-To: <E1CQpvJ-000Owt-00.sergey65-mail-ru@f17.mail.ru>
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]
On Sun, Nov 07, 2004 at 07:29:49PM +0300, Sergey Kulakov wrote:
> Подскажите ПЛЗ что не так:
> настроен stream через модем ( bridge )
> в компе стоит вторая карточка все настроено ( ADSL_how-to.txt )
> включаю второй комп
> первый прописан как gateway
> первый пингуется
> модем пингуется
> а инета нет! :-(
> Или может как еще можно настроить?
какой IP-адрес у первого компьютера?
какой IP-адрес у второго компьютера?
настроен ли NAT или маскарадинг?
Привожу свои настройки на роутере:
ppp0 - Stream.RU real IP
eth0 - 192.168.1.1/24 - Intranet
сделан маскарадинг следующей командой:
sudo iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -d ! 192.168.1.0/24 -j MASQUERADE
Не забудьте также настроить firewall!
У меня, например, снаружи виден только 22 порт и только с ключом
-P0 для nmap'а :-)
--
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.
[-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]
next prev parent reply other threads:[~2004-11-07 19:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-07 16:29 Sergey Kulakov
2004-11-07 19:07 ` Andrey Brindeew [this message]
2004-11-08 8:08 ` Sergey S. Skulachenko
2004-11-09 10:56 ` Mike Lykov
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=20041107190751.GA22304@abr.pp.ru \
--to=abr@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