ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Holzman <michaelholzman@gmail.com>
To: community@altlinux.ru
Subject: Re: [Comm] Re: ALC 2.3 -> gateway
Date: Thu, 14 Jul 2005 21:32:34 +0300
Message-ID: <c00cf05071411327134a018@mail.gmail.com> (raw)
In-Reply-To: <e12fd2db0507141120639d4477@mail.gmail.com>

On 7/14/05, Eugene Ostapets <eostapets@gmail.com> wrote:
> 14.07.05, Michael Holzman<michaelholzman gmail.com> написал(а):
> > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> > Еще одна интересная вещь. Внутренний комп пингует внешний хорошо. А
> > вот внешний комп не может пропинговать внутренний.  Может это имеет
> > какое-то отношение к проблеме.
> Вы не докурили маны... При MASQUERADE у вас все работает так, как и
> задымывалось авторами... Вам же нежун SNAT/DNAT... Курите следующую
> пачку манов...
В том, что я читал написано, что он SNAT неприемлем когда внешний
адрес получен от DHCP (мой случай). Например, это правило описывает
мою конфигурацию
iptables  -t nat -A POSTROUTING -s 192.168.110.0/16 -o eth0 -j SNAT 
--to-sourсе $REAL_IP

Только REAL_IP заранее неизвестен. 

А вот маскарад указан как раз для этого случая.


-- 
Regards,
    Michael Holzman

  reply	other threads:[~2005-07-14 18:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-14  4:02 [Comm] " Michael Holzman
2005-07-14  4:37 ` Eugene Prokopiev
2005-07-14  4:55   ` Michael Holzman
2005-07-14 15:37     ` Re[2]: " Alexey S. Kuznetsov
2005-07-14  5:58       ` Michael Holzman
2005-07-14 16:06         ` Re[4]: " Alexey S. Kuznetsov
2005-07-14  6:29           ` Michael Holzman
2005-07-14  8:15             ` Eugene Prokopiev
2005-07-14  9:53               ` Michael Holzman
2005-07-14 15:53                 ` Michael Holzman
2005-07-14 17:04                   ` Dmitry (Mothlike) Marochko
2005-07-14 17:47                     ` Michael Holzman
2005-07-14 17:59                       ` Dmitry (Mothlike) Marochko
2005-07-14 17:50                   ` [Comm] " Michael Shigorin
2005-07-14 18:15                     ` Michael Holzman
2005-07-14 18:20                       ` Eugene Ostapets
2005-07-14 18:32                         ` Michael Holzman [this message]
2005-07-14 18:42                           ` Eugene Ostapets
2005-07-14 18:43                           ` Eugene Ostapets
2005-07-14 18:48                           ` Michael Holzman
2005-07-15 12:00                             ` [Comm] [JT] ЖУ-эффект :) (was: ALC 2.3 -> gateway) Michael Shigorin

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=c00cf05071411327134a018@mail.gmail.com \
    --to=michaelholzman@gmail.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