全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1726|回复: 6
打印 上一主题 下一主题

L2TP搭建

[复制链接]
1#
发表于 2012-2-5 21:55:22 | 只看该作者
gamecreating 发表于 2012-2-5 21:28
一键包 路过!!!!!!!!

一键包安装成功。。。
2#
 楼主| 发表于 2012-2-5 21:10:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@server:~# 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.24/K2.6.32-5-686-bigmem (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 for RSA private key (/etc/ipsec.secrets)               [OK]
Checking that pluto is running                                  [OK]
Pluto listening for IKE on udp 500                              [OK]
Pluto listening for NAT-T on udp 4500                           [FAILED]
Checking for 'ip' command                                       [OK]
Checking for 'iptables' command                                 [OK]
Opportunistic Encryption Support                                [DISABLED]


卡好久 了。。。求助
3#
发表于 2012-2-5 21:21:59 | 只看该作者
本帖最后由 哈P哥 于 2012-2-5 21:27 编辑


yum install -y ppp gmp xl2tpd lsof   希望能帮到楼主
4#
 楼主| 发表于 2012-2-5 21:24:32 | 只看该作者
哈P哥 发表于 2012-2-5 21:21
热心人遇到困难了?
yum install -y ppp gmp xl2tpd lsof   用这个试试,希望能帮到楼主,楼主好人 ...

debian6 我是 ppp 和xl2tpd lsof都有了
5#
发表于 2012-2-5 21:26:46 | 只看该作者
http://suoluo.wordpress.com/2010/04/01/%E6%8A%98%E8%85%BEvps%E4%B8%8A%E7%9A%84l2tpipsec%E9%9A%8F%E5%B8%A6pptp/

#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.24rc5/K2.6.18-164.11.1.el5xen (netkey)
Checking for IPsec support in kernel [OK]
Testing against enforced SElinux mode [OK]
NETKEY detected, testing for disabled ICMP send_redirects [OK] // 这里失败通过修改sysctl.conf解决
NETKEY detected, testing for disabled ICMP accept_redirects [OK]// 这里失败通过修改sysctl.conf解决
Checking for RSA private key (/etc/ipsec.secrets) [OK]
Checking that pluto is running [OK] // 这里失败,在提示目录下执行ipsec pluto
Pluto listening for IKE on udp 500 [OK] // 这里失败开提示,一般是没有安装lsof
Pluto listening for NAT-T on udp 4500 [OK] // 这里失败开提示,一般是没有安装lsof
Two or more interfaces found, checking IP forwarding [OK] //这里失败,是因为sysctl.conf下 net.ipv4.ip_forward = 0,要改成 1
Checking NAT and MASQUERADEing //这里失败,是因为iptables没有打开NAT
Checking for ‘ip’ command [OK]
Checking for ‘iptables’ command [OK]
Opportunistic Encryption Support [DISABLED] //这个之前可能会有一个DNS失败的提示,通过配置no_oe.conf解决

你可以看下,就知道怎么多了,楼下技术帝上

评分

参与人数 1威望 +15 收起 理由
lopakaka + 15 一键包 成功

查看全部评分

6#
发表于 2012-2-5 21:28:11 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
7#
发表于 2012-2-5 22:07:09 | 只看该作者
ssh 飘过

评分

参与人数 1威望 +15 收起 理由
lopakaka + 15 用不惯

查看全部评分

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-10-28 20:08 , Processed in 0.119144 second(s), 16 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表