ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexandr R. Ogurtzoff  " <iscander@mercuri.mk.ua>
To: community@altlinux.ru
Subject: Re: [Comm] хождение в интернетчерез линукс-машину
Date: Wed, 14 May 2003 10:23:31 +0300
Message-ID: <200305141023.31901.iscander@mercuri.mk.ua> (raw)
In-Reply-To: <20030513185827.16145a62.alt_unit@pisem.net>

В сообщении от Вторник 13 Май 2003 17:58 Unit написал(a):
> Hello, Community!
>
> Встала тут передо мной такая задача: есть линукс-машина
> (Мастер 2.2), подключенная к выделенному каналу в
> интернет,и, есть, windows-машина, с которой нужно ходить
> в сеть через линукс-машину. Лин и win машины связаны
> локалкой (по-сути - в лин-машине две сетевухи: одна
> смотрит в интернет, а другая в локалку). Как?
В linux машине настроить ip-tables (NAT) перевод Ip-tables 
tutorial есть здесь можете брать в качестве примера
http://gazette.linux.ru.net/rus/articles/index-iptables-tutorial.html
 почитайте ещё это
http://gazette.linux.ru.net/rus/articles/pesin.html
 и это
http://gazette.linux.ru.net/rus/articles/povest_ob_ip.html
На Linux box поднимите кеширующий (режим по умолчанию) bind 
или из Сизифа pdnsd. Включите IP forward.
На  Windows машине в настрйках TCP/IP укажите IP адрес 
внутренней сетевой Linux в полях шлюза по умолчанию и 
сервера имён. Будет работать

      parent reply	other threads:[~2003-05-14  7:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13 14:58 [Comm] хождение в интернет через линукс-машину Unit
2003-05-13 15:36 ` Maxim Tyurin
2003-05-14  5:35 ` [Comm] хождение в интернетчерез линукс-машину Mike Lykov
2003-05-14  7:23 ` Alexandr R. Ogurtzoff   [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=200305141023.31901.iscander@mercuri.mk.ua \
    --to=iscander@mercuri.mk.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