开发者社区> 问答> 正文

阿里云搭建vpn

我是用你们提供的脚本在阿里云上搭建vpn 全程没有报错,切页显示了账号密码和psk 了,我用mac电脑和iphone 去链接搭建好的vpn 为服务器没有响应,请问这个要怎么解决


错误提示

The L2TP-VPN server did not respond. Try reconnecting. If the problem continues, verify your settings and contact your Administrator.


我查了一下,通过看了secrect 的文件


Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: received Vendor ID payload [RFC 3947]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-08]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-07]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-06]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-05]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-04]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-03]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: received Vendor ID payload [FRAGMENTATION 80000000]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: received Vendor ID payload [Dead Peer Detection]
Feb 26 17:11:34 iZ23cwu1pkxZ pluto[8484]: packet from 115.204.93.42:500: initial Main Mode message received on 114.55.177.246:500 but no connection has been authorized with policy PSK+IKEV1_ALLOW
~
内容如下,请问我还需要哪里改一下配置么??

展开
收起
孢子网络 2017-02-26 17:13:22 11837 0
4 条回答
写回答
取消 提交回答
  • 回 3楼dongshan8的帖子
    请问这个要怎么解决呢?

    -------------------------

    回 5楼dongshan8的帖子
    我用的是Ubuntu系统,是根据教程使用PPTP设置好服务端,但在window客户端连接时,出现如下错误 ,请问该何如解决?
    2017-03-10 16:34:03
    赞同 展开评论 打赏
  • 旺旺:nectar2。
    楼主您好,

    要先确认一下vpn服务端是支持哪种接入方式喔,

    如果vpn服务端仅是普通的pptpd,可能当客户端要求是l2tp-vpn连接协议时,连接可能会失败的哩。

    -------------------------

    回 4楼(酱油王子) 的帖子
    您好,

    请问您是用哪个安装脚本安装的VPN服务?

    -------------------------

    回 6楼(酱油王子) 的帖子
    武器女包,

    抱歉延时回复,

    如果您是按 https://help.aliyun.com/knowledge_detail/41344.html 这里设置VPN服务端的,

    那么请您在Windows系统里拨号时,不要选择“L2TP”的连接类型。
    2017-02-26 19:58:10
    赞同 展开评论 打赏
  • Re阿里云搭建vpn
    我是了关闭iptables 还是不能练到,大神你能够给点具体的命令么??

    2017-02-26 19:54:00
    赞同 展开评论 打赏
  • 阿里云论坛版主,伪Linux运维,完美主义者。
    请检查iptables,放开端口
    或者直接关闭iptables或是firewall
    2017-02-26 19:11:48
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
企业级弹性公网IP发布 立即下载
云企业网最佳实践 立即下载
阿里云网络-SLB负载均衡产品介绍 立即下载