Неужели никто не знает...?:-(
Все сделано как сказано на http://www.opennet.me/base/net/freebsd_router.txt.htmlконфиг киски такой:
crypto isakmp policy 15
encr 3des
hash md5
authentication pre-share
group 2
lifetime 3600
crypto isakmp key test address хх.хх.хх.хх
!
!
crypto ipsec transform-set dst esp-3des esp-md5-hmac
mode transport
!
crypto map dst 10 ipsec-isakmp
set peer yy.yy.yy.yy
set transform-set dst
match address 161
Конфиг ракуна такой:
path include "/usr/local/etc/racoon" ;
path pre_shared_key "/usr/local/etc/racoon/psk.txt" ;
log notify;
remote anonymous
{
exchange_mode main,base;
# phase 1 proposal (for ISAKMP SA)
proposal {
lifetime time 3600 sec;
encryption_algorithm 3des;
hash_algorithm md5;
authentication_method pre_shared_key ;
dh_group 2 ;
}
proposal_check obey;
}
algorithms presented below
sainfo anonymous
{
pfs_group 2;
lifetime time 3600 sec ;
encryption_algorithm 3des, cast128, blowfish 448, des, rijndael ;
authentication_algorithm hmac_sha1, hmac_md5 ;
compression_algorithm deflate ;
}
Я задолбался с этим шифрованием честно говоря.....:-( Туннель встает а шифроваться не хочет...:-( Сделано на FreeBSD 6.0.
С удовольствием поставил бы ящик пива тому кто поможет....у меня нервов уже не хватает.