From: "Alexey S. Kuznetsov" <buster@kuznetsov.org.ua>
To: Vitaly Gorshkov <community@altlinux.ru>
Subject: Re: [Comm] шлюз смотрит в другой шлюз
Date: Mon, 11 Jul 2005 17:32:49 -0700
Message-ID: <1141765004.20050711173249@kuznetsov.org.ua> (raw)
In-Reply-To: <1693213177.20050711180601@mail.ru>
Hello!
Monday, July 11, 2005, 7:06:01 AM, you wrote:
> есть сетка 192.168.0.0/24
> есть шлюз 192.168.0.1 + внешний ip (windows 2003 + NAT)
> есть АльтМастер 2.4 192.168.0.195
> на рабочем компе(192.168.0.8), шлюз стоит 192.168.0.1 - можно ли
> изменить шлюз на 192.168.0.195, а машину 192.168.0.195 - заствить
> смотреть на 192.168.0.1?
> настройки 192.168.0.195 iptables:
> *nat
> :PREROUTING ACCEPT [0:0]
> :OUTPUT ACCEPT [0:0]
> :POSTROUTING ACCEPT [0:0]
> -A POSTROUTING -j MASQUERADE
Конечно! на виндовой тачке ставишь шлюзом 0.195, а на линуховой машине
- 0.1. Также на линуховой настраиваешь iptables приблизительно, как он
у тебя и настроен.
Всё будет работать!
--
Sincerely,
Alexey S. Kuznetsov
AK2351-RIPE
next prev parent reply other threads:[~2005-07-12 0:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-11 14:06 Vitaly Gorshkov
2005-07-12 0:32 ` Alexey S. Kuznetsov [this message]
2005-07-12 4:55 ` Re[2]: " Vitaly Gorshkov
2005-07-12 7:55 ` Nick S. Grechukh
2005-07-12 8:37 ` Re[2]: " Vitaly Gorshkov
2005-07-12 18:40 ` Re[3]: " Alexey S. Kuznetsov
2005-07-12 18:42 ` Re[4]: " Alexey S. Kuznetsov
2005-07-12 9:07 ` Re[5]: " Vitaly Gorshkov
2005-07-12 11:09 ` Vitaly Gorshkov
2005-07-12 12:35 ` [Comm] " Michael Shigorin
2005-07-12 13:18 ` Vitaly Gorshkov
2005-07-12 18:13 ` Michael Shigorin
2005-07-13 6:05 ` Vitaly Gorshkov
2005-07-13 6:27 ` Michael Shigorin
2005-07-13 7:49 ` Yuri Ivanov
2005-07-13 9:54 ` Re[2]: " Vitaly Gorshkov
2005-07-14 4:57 ` Yuri Ivanov
2005-07-14 5:26 ` Re[2]: " Vitaly Gorshkov
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=1141765004.20050711173249@kuznetsov.org.ua \
--to=buster@kuznetsov.org.ua \
--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