开发者社区 问答 正文

centospptp客户端连接vpn

现在是这样的情况,外面有个vpn的服务器,有ip,端口,账号,密码,我阿里云上的机子可否作为pptpvpn连接的客户端去连接那边的vpn呢?在Windows下是可行的,下载一个sv独立客户端去连接的,我不知道这边该如何连接,试了一下失败了,以下是失败的日志:Using interface ppp0Connect: ppp0 <--> /dev/pts/1LCP: timeout sending Config-RequestsConnection terminated.Modem hangup[root@AY1401210803372373a8Z webapps]# anonwarn[open_inetsock:pptp_callmgr.c:329]: connect: Connection timed outanon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open controlconnection to 221.230.54.113  望答复!  
2015-10-10 16:52:57

展开
收起
三目龙 2015-10-10 17:36:02 10959 分享 版权
3 条回答
写回答
取消 提交回答
  • 回2楼西秦的帖子
    端口是正常的,那边的vpn也是能正常访问的,不过那边的是ssl vpn不知道会不会有什么影响。

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

    Recentospptp客户端连接vpn
    Oct 20 16:55:43 AY140226144732220a87Z pppd[20156]: pppd 2.4.5 started by root, uid 0
    Oct 20 16:55:43 AY140226144732220a87Z pppd[20156]: Using interface ppp0
    Oct 20 16:55:43 AY140226144732220a87Z pppd[20156]: Connect: ppp0 <--> /dev/pts/5
    Oct 20 16:55:43 AY140226144732220a87Z pptp[20157]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
    Oct 20 16:56:14 AY140226144732220a87Z pppd[20156]: LCP: timeout sending Config-Requests
    Oct 20 16:56:14 AY140226144732220a87Z pppd[20156]: Connection terminated.
    Oct 20 16:56:14 AY140226144732220a87Z pppd[20156]: Modem hangup
    Oct 20 16:56:19 AY140226144732220a87Z pppd[20156]: Exit.
    Oct 20 16:56:46 AY140226144732220a87Z pptp[20162]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: Connection timed out
    Oct 20 16:56:46 AY140226144732220a87Z pptp[20162]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 221.230.54.113
    2015-10-20 16:28:12
    赞同 展开评论
  • 码农|Coder| Pythonista
    您好
    根据您的报错信息
    connect: Connection timed outanon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open controlconnection to 221.230.54.113
    无法连接到您的PPTP服务器。
    检查您的PPTP服务器端口是否开启正常?
    您的PPTP服务是否启动正常

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

    请您知悉

    2015-10-12 02:53:29
    赞同 展开评论
  • 旺旺:nectar2。
    楼主您好,

    这里有一个例子,是在centos下作为pptp客户端连接远程服务器的: http://websistent.com/how-to-configure-a-linux-pptp-vpn-client/

    您可以试试喔。
    2015-10-10 20:05:10
    赞同 展开评论