免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3860 | 回复: 3
打印 上一主题 下一主题

debian下启动ipsec服务 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-03-05 12:45 |只看该作者 |倒序浏览
我在debian下启动ipsec服务出现如下信息:
# /etc/init.d/ipsec start
can not load config '/etc/ipsec.conf': /etc/ipsec.conf:35: syntax error, unexpected KEYWORD, expecting $end [left]
ipsec_setup: Starting Openswan IPsec 2.6.28...
ipsec_setup: No KLIPS support found while requested, desperately falling back to netkey
ipsec_setup: NETKEY support found. Use protostack=netkey in /etc/ipsec.conf to avoid attempts to use KLIPS. Attempting to continue with NETKEY
ipsec_setup: can not load config '/etc/ipsec.conf': /etc/ipsec.conf:35: syntax error, unexpected KEYWORD, expecting $end [left]
想问一下是我ipsec.conf配置的不对吗?

论坛徽章:
0
2 [报告]
发表于 2012-03-05 15:47 |只看该作者
# ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path                                     [OK]
Linux Openswan U2.6.28/K2.6.26-2-686 (netkey)
Checking for IPsec support in kernel                                [OK]
NETKEY detected, testing for disabled ICMP send_redirects           [OK]
NETKEY detected, testing for disabled ICMP accept_redirects         [OK]
Checking that pluto is running                                      [OK]
Pluto listening for IKE on udp 500                                  [OK]
Pluto listening for NAT-T on udp 4500                               [FAILED]
Two or more interfaces found, checking IP forwarding                [FAILED]
Checking NAT and MASQUERADEing                                      [N/A]
Checking for 'ip' command                                           [OK]
Checking for 'iptables' command                                     [OK]
Opportunistic Encryption Support                                    [DISABLED]
这是我查看ipsec状态时的信息

论坛徽章:
0
3 [报告]
发表于 2012-03-05 15:49 |只看该作者
# ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path                                     [OK]
Linux Openswan U2.6.28/K2.6.26-2-686 (netkey)
Checking for IPsec support in kernel                                [OK]
NETKEY detected, testing for disabled ICMP send_redirects           [OK]
NETKEY detected, testing for disabled ICMP accept_redirects         [OK]
Checking that pluto is running                                      [OK]
Pluto listening for IKE on udp 500                                  [OK]
Pluto listening for NAT-T on udp 4500                               [FAILED]
Two or more interfaces found, checking IP forwarding                [FAILED]
Checking NAT and MASQUERADEing                                      [N/A]
Checking for 'ip' command                                           [OK]
Checking for 'iptables' command                                     [OK]
Opportunistic Encryption Support                                    [DISABLED]
这是我查看ipsec状态时的信息

论坛徽章:
0
4 [报告]
发表于 2012-03-05 15:51 |只看该作者
# ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path                                     [OK]
Linux Openswan U2.6.28/K2.6.26-2-686 (netkey)
Checking for IPsec support in kernel                                [OK]
NETKEY detected, testing for disabled ICMP send_redirects           [OK]
NETKEY detected, testing for disabled ICMP accept_redirects         [OK]
Checking that pluto is running                                      [OK]
Pluto listening for IKE on udp 500                                  [OK]
Pluto listening for NAT-T on udp 4500                               [FAILED]
Two or more interfaces found, checking IP forwarding                [FAILED]
Checking NAT and MASQUERADEing                                      [N/A]
Checking for 'ip' command                                           [OK]
Checking for 'iptables' command                                     [OK]
Opportunistic Encryption Support                                    [DISABLED]
这是我查看ipsec状态时的信息
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP