ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maria Shakhova <inlvenok@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Настройка NAT
Date: Thu, 8 May 2003 01:28:50 +0400
Message-ID: <200305080128.50444.inlvenok@mail.ru> (raw)
In-Reply-To: <3EB91F64.6020303@yauza.ru>

В сообщении от Среда 07 Май 2003 18:59 Pavel S. Khmelinsky написал(a):
> А зачем собственно SNAT? У вас ведь динамический ип (не так-ли?).
> Т.е. при каждом переконнекте АДСЛ придется стирать предыдущую
> цепочку и создавать новую подменяя --to-source.
>
> Я бы на Вашем месте просто воспользовался старым добрым маскарадом:
> iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
> Тогда не будет проблем с --to-source.
Нет, ip у меня статический, мне его провайдер выделил -- tochka.ru -- в 
количестве 4 штук, поэтому мне Snat показался наиболее приемлимым вариантом 



  reply	other threads:[~2003-05-07 21:28 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
2003-05-07 13:27 ` Yuri Hramov
2003-05-07 14:59 ` Pavel S. Khmelinsky
2003-05-07 21:28   ` Maria Shakhova [this message]
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=200305080128.50444.inlvenok@mail.ru \
    --to=inlvenok@mail.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