From: "Albert R. Valiev" <darkstar@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] IPSEC,DES,Master 2.4?
Date: Thu, 10 Mar 2005 07:44:55 +0300
Message-ID: <200503100744.58930.darkstar@altlinux.ru> (raw)
In-Reply-To: <422FC318.7050201@help0.ru>
[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]
В сообщении от Четверг 10 Март 2005 06:46 Arcady V. Ivanov написал(a):
> Подскажите пожалуйста про простой DES для IPSEC.
>
> Для ядра 2.4.26 есть модуль ipsec_1des.o.
ЗЫ
В ядре 2.6 ipsec встроен. Если не критичен переход на 2.6 - рекомендовал бы
попробовать. Дополнительно нужен будет только пакет ipsec-tools
Пример конфигурации такой:
хост1
--------------------------------------------------------------------------------------------------
flush;
spdflush;
add 192.168.100.3 192.168.100.133 ah 15700 -A hmac-md5 "1234567890123456";
add 192.168.100.133 192.168.100.3 ah 24500 -A hmac-md5 "1234567890123456";
add 192.168.100.3 192.168.100.133 esp 15701 -E 3des-cbc
"123456789012123456789012";
add 192.168.100.133 192.168.100.3 esp 24501 -E 3des-cbc
"123456789012123456789012";
spdadd 192.168.100.3 192.168.100.133 any -P out ipsec
esp/transport//require
ah/transport//require;
spdadd 192.168.100.133 192.168.100.3 any -P in ipsec
esp/transport//require
ah/transport//require;
----------------------------------------------------------------------------------------------------------
хост2
----------------------------------------------------------------------------------------------------------
flush;
spdflush;
add 192.168.100.3 192.168.100.133 ah 15700 -A hmac-md5 "1234567890123456";
add 192.168.100.133 192.168.100.3 ah 24500 -A hmac-md5 "1234567890123456";
add 192.168.100.3 192.168.100.133 esp 15701 -E 3des-cbc
"123456789012123456789012";
add 192.168.100.133 192.168.100.3 esp 24501 -E 3des-cbc
"123456789012123456789012";
spdadd 192.168.100.133 192.168.100.3 any -P out ipsec
esp/transport//require
ah/transport//require;
spdadd 192.168.100.3 192.168.100.133 any -P in ipsec
esp/transport//require
ah/transport//require;
--------------------------------------------------------------------------------------------------------------
Записываешь конфигурацию в файл и выполняешь от root команду setkey -f
<filename>
и все, туннель готов. для проверки setkey -D
--
With Best Regards, Albert R. Valiev
----------------------------------
ALT Linux Team [www.altlinux.org]
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2005-03-10 4:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 3:46 Arcady V. Ivanov
2005-03-10 4:33 ` Albert R. Valiev
2005-03-10 5:26 ` Arcady V. Ivanov
2005-03-10 4:44 ` Albert R. Valiev [this message]
2005-03-14 20:54 ` 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=200503100744.58930.darkstar@altlinux.ru \
--to=darkstar@altlinux.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