ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Borovskoy <alexey_borovskoy@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] openswan и NAT-T
Date: Sun, 6 Mar 2005 21:41:09 +1200
Message-ID: <200503062141.25043.alexey_borovskoy@mail.ru> (raw)
In-Reply-To: <20050305213133.GA27917@mrkooll.tdr.pibhe.com>

[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]

* Воскресенье 06 Март 2005 09:31 Maxim Tyurin 
<mrkooll@bungarus.info>

> On Sun, Mar 06, 2005 at 02:07:49AM +1200, Alexey Borovskoy 
wrote:
> > Добрый вечер.
> >
> > Поделитесь пожалуйста конфигом для создания IPSec-туннеля
> > через NAT. Все доки которые мне удалось найти, до конца не
> > просветляют. До меня не доходит как правильно описывать
> > такой туннель.
>
> Готового конфига у меня нет но там нет ничего особо
> отличающегося от другого туннеля :)
>
> Дока по NAT в REAME соответствующего патча.
>
> Что именно не получается?

Я добавил nat_traversal=yes. Плуто начинает слушать на порту 4500 
(adding interface ipsec0/eth0 10.1.1.1:4500).

Как описать сторону которая за NAT?

В доке на патч вижу следующее:

right=%any
rightsubnet=192.168.1.1/32

Почему так и зачем? Зачем еще ему subnet нужен? right 
терминируется на машине с NAT? А если нужно пройти две машины с 
NAT?

virtual_private=%v4:10.0.0.0/8
right=%any
rightsubnet=vhost:%no,%priv

Это от меня совсем ускользает. Доступную документацию я уже 
прочел в разных направлениях и скурил, а просветления не 
наступает.

> P.S. А вообще NAT IPsec гадость и желательно без него
> обойтись.

Знаю что гадость. Может быть туннель IPSec запихнуть в туннель 
IP-IP, который пропустить через NAT?

-- 
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63  2753 E37A 9E3F 11F3 BDE1

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-03-06  9:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-05 14:07 Alexey Borovskoy
2005-03-05 21:31 ` Maxim Tyurin
2005-03-06  9:41   ` Alexey Borovskoy [this message]
2005-03-10 12:29     ` Maxim Tyurin
2005-03-10 18:22       ` [Comm] " Michael Shigorin
2005-03-11 10:42       ` [Comm] " Alexey Borovskoy
2005-03-11 13:48         ` Maxim Tyurin

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=200503062141.25043.alexey_borovskoy@mail.ru \
    --to=alexey_borovskoy@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