无法连接到 pptpd vpn

无法连接到 pptpd vpn

我在服务器上使用 Centos 7,并启用了防火墙,目前我无法连接到我的 pptpd vpn


日志

Dec 26 23:34:39  pptpd[28944]: CTRL: Client 39.55.196.181 control connection started
Dec 26 23:34:39   pptpd[28944]: CTRL: Starting call (launching pppd, opening GRE)
Dec 26 23:34:39   pppd[28945]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Dec 26 23:34:39   pppd[28945]: pppd 2.4.5 started by root, uid 0
Dec 26 23:34:39   pppd[28945]: Using interface ppp0
Dec 26 23:34:39    pppd[28945]: Connect: ppp0 <--> /dev/pts/5
Dec 26 23:35:09   pppd[28945]: LCP: timeout sending Config-Requests
Dec 26 23:35:09   pppd[28945]: Connection terminated.
Dec 26 23:35:09   pppd[28945]: Modem hangup
Dec 26 23:35:09   pppd[28945]: Exit.
Dec 26 23:35:09   pptpd[28944]: GRE: read(fd=6,buffer=7f6470314480,len=8196) 
from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Dec 26 23:35:09   pptpd[28944]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Dec 26 23:35:09   pptpd[28944]: CTRL: Client 39.55.196.181 control connection finished

Firewalld 已启用以下端口 1723/tcp

我的options.pptpd如下

name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
ms-dns 8.8.8.8
ms-dns 8.8.4.4
proxyarp
lock
novj
novjccomp
nologfd

请问有人可以让我知道我哪里做错了吗?我还应该在防火墙中启用什么吗?

谢谢

答案1

谢谢,但问题已解决,因为防火墙阻止了 pptp.conf 中配置的本地和远程 ip

问题已通过以下命令解决:firewall-cmd --add-source=xx.xx.xx.x/24

谢谢

相关内容