ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Arkadiy Pavlik <pvl@pskb.com>
To: community@altlinux.ru
Subject: Re: [Comm] Настройка NAT
Date: Wed, 7 May 2003 23:43:24 +1100
Message-ID: <200305072343.24606.pvl@pskb.com> (raw)
In-Reply-To: <E19DNlv-000OYh-00.inlvenok-mail-ru@f11.mail.ru>

В сообщении от 7 Май 2003 23:11 Maria Shakhova написал(a):

> > Помогите советом...
> Есть локальная сеть, есть роутер под Linux c 2 сетевыми картами,1 смотрит в
> локальную сеть ,вторая --в интернет (соединение через ADSL) необходимо
> сделать так, чтобы все люди в локальной сети могли получать и отправлять
> почту и пользоваться ICQ. Но у меня не получается настроить nat. Настраиваю
> я его так: в скрипт, сгенеренный guarddog'ом, дописываю подгрузку модулей,
> строки

Вот скрипт бы и увидеть... В остальном большого криминала нет.

> iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 81.195.221.166

Поскольку этот адрес на карте один, то это правило лишнее. По идее, оно не 
мешает, просто лишнее.

> но почта не работает.... Чтение man iptables, iptables reference и
> сообщений на различных форумах не просветлила...Что я делаю не так?

Скорей всего что-то в том скрипте "собачьем" :) криво сгенерировалось...
Лучше поискать "iptables tutorial"! Есть уже и на русском. Там, кстати, и 
примеров рабочих много.

-- 
С наилучшими пожеланиями,
Аркадий Павлик



  parent reply	other threads:[~2003-05-07 12:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 12:11 Maria  Shakhova
2003-05-07 12:38 ` Sergey Solomonov
2003-05-07 12:43 ` Arkadiy Pavlik [this message]
2003-05-07 13:27 ` Yuri Hramov
2003-05-07 14:59 ` Pavel S. Khmelinsky
2003-05-07 21:28   ` Maria Shakhova
2003-05-08  6:04     ` Владимир
2003-05-08 11:28       ` Maria Shakhova
2003-05-08  8:22         ` Владимир
2003-05-08  9:05           ` Andriy Dobrovol's'kii
2003-05-10  0:50         ` Mulder
2003-05-12 16:47 ` Maria Shakhova

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=200305072343.24606.pvl@pskb.com \
    --to=pvl@pskb.com \
    --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