首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >OpenSWAN KLIPS不工作

OpenSWAN KLIPS不工作
EN

Server Fault用户
提问于 2011-06-21 20:55:30
回答 1查看 1.8K关注 0票数 0

我正在尝试在由IPSec启动的2VM之间设置OpenNebula。我用的是OpenSWAN。这是ipsec.conf文件

代码语言:javascript
复制
config setup        
    oe=off
    interfaces=%defaultroute
    protostack=klips

conn host-to-host

    left=10.141.0.135 # Local IP address
    connaddrfamily=ipv4
    leftrsasigkey=key
    right=10.141.0.132 # Remote IP address
    rightrsasigkey=key
    ike=aes128 # IKE algorithms (AES cipher)
    esp=aes128 # ESP algorithns (AES cipher)
    auto=add
    pfs=yes
    forceencaps=yes
    type=tunnel

我能够建立与netkey的联系,但是klip不起作用。

ipsec barf节目

代码语言:javascript
复制
#71: ERROR: asynchronous network error report on eth0 (sport=500) for message to 10.141.0.132 port 500, complainant 10.141.0.135: No route to host [errno 113, origin ICMP type 3 code 1 (not authenticated)]

Tcpdump显示

代码语言:javascript
复制
22:50:20.592685 IP 10.141.0.132.isakmp > 10.141.0.135.isakmp: isakmp: phase 1 I ident
22:50:25.602182 ARP, Request who-has 10.141.0.135 tell 10.141.0.132, length 46
22:50:26.602082 ARP, Request who-has 10.141.0.135 tell 10.141.0.132, length 46
22:50:27.601985 ARP, Request who-has 10.141.0.135 tell 10.141.0.132, length 46

ipsec eroute节目

代码语言:javascript
复制
0          10.141.0.135/32    -> 10.141.0.132/32    => %trap

有什么问题吗?

EN

回答 1

Server Fault用户

发布于 2011-09-26 14:59:49

根据内核的不同,您可能需要一个修补程序。更新的内核默认支持NETKEY

要只启用NETKEY,请使用protostack=netkey

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/282777

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档