用的华为云开启pptpd之后一连就报错,麻烦大佬帮看下,谢谢!!

上网、浏览、聊天、下载等
回复
shisusuya
帖子: 3
注册时间: 2022-04-02 14:03

用的华为云开启pptpd之后一连就报错,麻烦大佬帮看下,谢谢!!

#1

帖子 shisusuya » 2022-04-02 14:05

Apr 2 13:49:50 ecs-333088 pptpd[833354]: MGR: Manager process started
Apr 2 13:49:50 ecs-333088 pptpd[833354]: MGR: Maximum of 91 connections available
Apr 2 13:53:54 ecs-333088 pptpd[833402]: CTRL: Client 111.201.246.242 control connection started
Apr 2 13:53:54 ecs-333088 pptpd[833402]: CTRL: Starting call (launching pppd, opening GRE)
Apr 2 13:53:54 ecs-333088 pppd[833403]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Apr 2 13:53:54 ecs-333088 pppd[833403]: pppd 2.4.7 started by root, uid 0
Apr 2 13:53:54 ecs-333088 pppd[833403]: Using interface ppp0
Apr 2 13:53:54 ecs-333088 pppd[833403]: Connect: ppp0 <--> /dev/pts/1
Apr 2 13:53:54 ecs-333088 systemd-udevd[833406]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 2 13:53:54 ecs-333088 NetworkManager[692]: <info> [1648878834.9458] manager: (ppp0): new Ppp device (/org/freedesktop/NetworkManager/Devices/3)
Apr 2 13:54:24 ecs-333088 pppd[833403]: LCP: timeout sending Config-Requests
Apr 2 13:54:24 ecs-333088 pppd[833403]: Connection terminated.
Apr 2 13:54:24 ecs-333088 pppd[833403]: Modem hangup
Apr 2 13:54:24 ecs-333088 pppd[833403]: Exit.
Apr 2 13:54:24 ecs-333088 pptpd[833402]: GRE: read(fd=6,buffer=5603d162c480,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Apr 2 13:54:24 ecs-333088 pptpd[833402]: CTRL: PTY read or GRE write failed (pty,gre)=(6,9)
Apr 2 13:54:24 ecs-333088 pptpd[833402]: CTRL: Client 111.201.246.242 control connection finished
Apr 2 13:55:07 ecs-333088 pptpd[833416]: CTRL: Client 111.201.246.242 control connection started
Apr 2 13:55:07 ecs-333088 pptpd[833416]: CTRL: Starting call (launching pppd, opening GRE)
Apr 2 13:55:07 ecs-333088 pppd[833417]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Apr 2 13:55:07 ecs-333088 pppd[833417]: pppd 2.4.7 started by root, uid 0
Apr 2 13:55:07 ecs-333088 NetworkManager[692]: <info> [1648878907.2130] manager: (ppp0): new Ppp device (/org/freedesktop/NetworkManager/Devices/4)
Apr 2 13:55:07 ecs-333088 pppd[833417]: Using interface ppp0
Apr 2 13:55:07 ecs-333088 pppd[833417]: Connect: ppp0 <--> /dev/pts/1
Apr 2 13:55:07 ecs-333088 systemd-udevd[833418]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 2 13:55:37 ecs-333088 pppd[833417]: LCP: timeout sending Config-Requests
Apr 2 13:55:37 ecs-333088 pppd[833417]: Connection terminated.
Apr 2 13:55:37 ecs-333088 pppd[833417]: Modem hangup
Apr 2 13:55:37 ecs-333088 pppd[833417]: Exit.
Apr 2 13:55:37 ecs-333088 pptpd[833416]: GRE: read(fd=6,buffer=562d598ec480,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Apr 2 13:55:37 ecs-333088 pptpd[833416]: CTRL: PTY read or GRE write failed (pty,gre)=(6,8)
Apr 2 13:55:37 ecs-333088 pptpd[833416]: CTRL: Client 111.201.246.242 control connection finished
Apr 2 13:57:28 ecs-333088 systemd[1]: Started Session 43 of user root.
Apr 2 13:57:28 ecs-333088 systemd-logind[871]: New session 43 of user root.
Apr 2 13:59:58 ecs-333088 pptpd[833460]: CTRL: Client 111.201.246.242 control connection started
Apr 2 13:59:58 ecs-333088 pptpd[833460]: CTRL: Starting call (launching pppd, opening GRE)
Apr 2 13:59:58 ecs-333088 pppd[833461]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Apr 2 13:59:58 ecs-333088 pppd[833461]: pppd 2.4.7 started by root, uid 0
Apr 2 13:59:58 ecs-333088 NetworkManager[692]: <info> [1648879198.2132] manager: (ppp0): new Ppp device (/org/freedesktop/NetworkManager/Devices/5)
Apr 2 13:59:58 ecs-333088 pppd[833461]: Using interface ppp0
Apr 2 13:59:58 ecs-333088 pppd[833461]: Connect: ppp0 <--> /dev/pts/2
Apr 2 13:59:58 ecs-333088 systemd-udevd[833462]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Apr 2 14:00:28 ecs-333088 pppd[833461]: LCP: timeout sending Config-Requests
Apr 2 14:00:28 ecs-333088 pppd[833461]: Connection terminated.
Apr 2 14:00:28 ecs-333088 pppd[833461]: Modem hangup
Apr 2 14:00:28 ecs-333088 pppd[833461]: Exit.
Apr 2 14:00:28 ecs-333088 pptpd[833460]: GRE: read(fd=6,buffer=564421113480,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Apr 2 14:00:28 ecs-333088 pptpd[833460]: CTRL: PTY read or GRE write failed (pty,gre)=(6,9)
Apr 2 14:00:28 ecs-333088 pptpd[833460]: CTRL: Client 111.201.246.242 control connection finished
头像
astolia
论坛版主
帖子: 6542
注册时间: 2008-09-18 13:11

Re: 用的华为云开启pptpd之后一连就报错,麻烦大佬帮看下,谢谢!!

#2

帖子 astolia » 2022-04-02 14:55

shisusuya 写了: 2022-04-02 14:05 Apr 2 14:00:28 ecs-333088 pppd[833461]: LCP: timeout sending Config-Requests
可能是本地或远端的防火墙拦住了。看一下对应端口开放没有,有没有加载nf_conntrack_pptp内核模块,sudo modprobe nf_conntrack_pptp
shisusuya
帖子: 3
注册时间: 2022-04-02 14:03

Re: 用的华为云开启pptpd之后一连就报错,麻烦大佬帮看下,谢谢!!

#3

帖子 shisusuya » 2022-04-02 15:03

astolia 写了: 2022-04-02 14:55
shisusuya 写了: 2022-04-02 14:05 Apr 2 14:00:28 ecs-333088 pppd[833461]: LCP: timeout sending Config-Requests
可能是本地或远端的防火墙拦住了。看一下对应端口开放没有,有没有加载nf_conntrack_pptp内核模块,sudo modprobe nf_conntrack_pptp
端口都开啦 这个sudo modprobe nf_conntrack_pptp也用了不知道啥情况 :Cry
头像
astolia
论坛版主
帖子: 6542
注册时间: 2008-09-18 13:11

Re: 用的华为云开启pptpd之后一连就报错,麻烦大佬帮看下,谢谢!!

#4

帖子 astolia » 2022-04-02 15:16

远端开ip转发没有?sudo sysctl net.ipv4.ip_forward如果输出是0,就sudo sysctl net.ipv4.ip_forward=1
两端用wireshark/tcpdump抓包看看发送的数据包对方收到没有,可参考 http://pptpclient.sourceforge.net/howto ... cp_timeout
还有据说需要在华为云安全组配置开放端口,不仅仅是远端机器上的防火墙,不过我没用过华为云不清楚。实在搞不明白找它的客服去
shisusuya
帖子: 3
注册时间: 2022-04-02 14:03

Re: 用的华为云开启pptpd之后一连就报错,麻烦大佬帮看下,谢谢!!

#5

帖子 shisusuya » 2022-04-02 15:21

astolia 写了: 2022-04-02 15:16 远端开ip转发没有?sudo sysctl net.ipv4.ip_forward如果输出是0,就sudo sysctl net.ipv4.ip_forward=1
两端用wireshark/tcpdump抓包看看发送的数据包对方收到没有,可参考 http://pptpclient.sourceforge.net/howto ... cp_timeout
还有据说需要在华为云安全组配置开放端口,不仅仅是远端机器上的防火墙,不过我没用过华为云不清楚。实在搞不明白找它的客服去
好的好的 我去试试去 感谢大佬!
回复