ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Настройка NAT в iptables Alt Server 4.0
Date: Tue, 08 May 2007 15:59:33 +0300
Message-ID: <m33b27lbd6.fsf@bungarus.tdr.pibhe.com> (raw)
In-Reply-To: <46403814.5050201@iop.kiev.ua> (Andrii Dobrovol`s. kii's message of "Tue\, 08 May 2007 11\:43\:00 +0300")

Andrii Dobrovol`s. kii writes:

> Maxim Tyurin пишет:
>> Andrii Dobrovol`s. kii writes:
>> \skip
>>>>> А чем Вам помогает маскарадинг при трех провах?
>>>> У меня DG сразу на три канала.
>>>> С различным весом.
>>>> Если использовать SNAT нужно еще на каждый SNAT писать rule для ip.
>>> Интересненько. А как это выглядит физически? Насколько я помню,
>>> Маскарад просто хорош тем, что не привязан к реальному IP на
>>> исходящем интерфейсе. И соответственно не не зависит от его смены.
>>> Но, сама-то смена от маскарада не зависит... Как разрешается эта
>>> ситуация?
>> 
>> Не совсем понял вопрос.
>> Маскарад натит туда куда указывает роутинг.
>> Какие могут быть проблемы?
> Я спрашиваю об этом:
> There is also a final word that is basically a synonym to SNAT,
> which is the Masquerade word. In Netfilter, masquerade is pretty
> much the same as SNAT with the exception that masquerading will
> automatically set the new source IP to the default IP address of the
> outgoing network interface.
> Т.е. если у Вас один внешний интерфейс, то всё понятно. А если их
> три, то как Вы организовываете свои правила фильтрации?
> Пишите изначально три варианта фильтра с учетом возможного изменения
> исходящего интерфейса?
> Если в правиле маскарадинга не указать исходящий интерфейс он
> пытается вычислить правильный адрес отталкиваясь от значения dev в
> правиле для default?

Для трех провайдеров сделано три таблицы ip
Все по заветам LARTC.org :)
http://lartc.org/howto/lartc.rpdb.multiple-links.html
-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
   ___                                 
  / _ )__ _____  ___ ____ _______ _____
 / _  / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/  \_,_/___/
               /___/  


  reply	other threads:[~2007-05-08 12:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04 13:42 Yura Nesteruk
2007-05-04 13:45 ` Andrii Dobrovol`s`kii
2007-05-04 13:56   ` Yura Nesteruk
2007-05-04 14:06     ` Andrii Dobrovol`s`kii
2007-05-04 14:42       ` Maxim Tyurin
2007-05-04 15:16         ` Dmitriy L. Kruglikov
2007-05-05 13:49           ` Sergey
2007-05-05 15:13             ` Gosha
2007-05-05 16:29               ` Sergey
2007-05-05 16:43                 ` Gosha
2007-05-07  9:44           ` Maxim Tyurin
2007-05-07 10:11             ` Andrii Dobrovol`s`kii
2007-05-08  7:40               ` Maxim Tyurin
2007-05-08  8:43                 ` Andrii Dobrovol`s`kii
2007-05-08 12:59                   ` Maxim Tyurin [this message]
2007-05-08 13:26                     ` Andrii Dobrovol`s`kii
2007-05-05  8:35       ` Sergey
2007-05-04 13:49 ` [Comm] Настройка NAT в iptables Alt Server 4.0 [JT] Владимир Гусев
2007-05-04 13:52   ` Yura Nesteruk
2007-05-05  7:28 ` [Comm] Настройка NAT в iptables Alt Server 4.0 Alexey Borovskoy

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=m33b27lbd6.fsf@bungarus.tdr.pibhe.com \
    --to=mrkooll@bungarus.info \
    --cc=community@lists.altlinux.org \
    /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