开发者社区> 问答> 正文

Linux 6.5 PPTP VPN 连接 不成功619

环境 :Linux  6.5
VPN: PPTP(yum 安装的pptp)


问题:vpn 是我搭建的,十月一 过后来上班,VPN 就连接 不上了,也不知道 是什么问题


现在我使用虚拟机 来重新 搭建 也是一直没有成功,错误:800 619.....
在帖子里都找了 ,也没有搭建成功,下面我给出我的配置
#vim  /etc/pptpd.conf

localip 192.168.0.1
remoteip 192.168.0.234-238,192.168.0.245


#vim /etc/ppp/options.pptpd

ms-dns 223.5.5.5
ms-dns 223.6.6.6


#vim /etc/ppp/chap-secrets
账号 pptpd 密码  *


#vim /etc/sysctl.cong
net.ipv4.ip_forward = 1




#iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE


上面是配置的信息
下面给出错误信息
客户端:错误619


Linux  日志:

Apr 22 19:28:36 localhost pptpd[25555]: CTRL: Client *.*.*.* control connection started
Apr 22 19:28:36 localhost pptpd[25555]: CTRL: Starting call (launching pppd, opening GRE)
Apr 22 19:28:36 localhost pppd[25556]: Warning: can't open options file /root/.ppprc: Permission denied
Apr 22 19:28:36 localhost pppd[25556]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Apr 22 19:28:36 localhost pppd[25556]: pppd 2.4.5 started by root, uid 0
Apr 22 19:28:36 localhost pppd[25556]: Using interface ppp0
Apr 22 19:28:36 localhost pppd[25556]: Connect: ppp0 <--> /dev/pts/3
Apr 22 19:28:36 localhost pptpd[25555]: GRE: Bad checksum from pppd.
Apr 22 19:28:39 localhost pptpd[25555]: GRE: read(fd=7,buffer=60a400,len=8260) from network failed: status = -1 error = Connection refused
Apr 22 19:28:39 localhost pptpd[25555]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Apr 22 19:28:39 localhost pppd[25556]: Modem hangup
Apr 22 19:28:39 localhost pppd[25556]: Connection terminated.
Apr 22 19:28:39 localhost pppd[25556]: Exit.
Apr 22 19:28:39 localhost pptpd[25555]: CTRL: Client *.*.*.* control connection finished








求救......

展开
收起
jasonlee1104 2016-10-14 10:50:11 7936 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载