From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] вопрос по ipsec
Date: Fri, 09 Dec 2005 14:25:57 +0200
Message-ID: <m3slt2cv8q.fsf@mrkooll.tdr.pibhe.com> (raw)
In-Reply-To: <1406919100.20051209130030@mail.ru> (Vitaly Gorshkov's message of "Fri, 9 Dec 2005 13:00:30 +0300")
Vitaly Gorshkov writes:
> вот к примеру часть конфига /etc/openswan/ipsec.conf:
>
> conn proba
> auth=esp
> type=tunnel
> authby=secret
> left=212.12.3.34
> leftsubnet=172.16.0.0/24
> leftnexthop=
>
> right=
> rightsubnet=172.16.1.0/24
> rightnexthop=
>
> spi=0x300
> auto=start
>
> Может ли параметр left или right = ip локальной сети ?
> т.е. 172.16.0.2, или он обязательно должен быть белым IP?
Может быть каким угодно.
Главное чтоб нормально роутился.
Система такая:
leftsubnet -> left -> leftnexhop -> <- rihgtnexthop <- right <- rightsubnet
Если хопов нет то leftnexthop = right, rightnexthop = left
Если хопы в конфиге не прописаны может не прописать маршрут.
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
___
/ _ )__ _____ ___ ____ _______ _____
/ _ / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/ \_,_/___/
/___/
next prev parent reply other threads:[~2005-12-09 12:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-09 10:00 Vitaly Gorshkov
2005-12-09 12:25 ` Maxim Tyurin [this message]
2005-12-09 13:22 ` Dmitriy Shcherbakov
2005-12-09 13:42 ` [Comm] " Vitaly Ostanin
2005-12-09 13:58 ` Dmitriy Shcherbakov
2005-12-09 16:26 ` [Comm] " 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=m3slt2cv8q.fsf@mrkooll.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