Jan 2 07:26:11 fr pptpd[1604]: CTRL: Starting call (launching pppd, opening GRE)
Jan 2 07:26:11 fr pppd[1605]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.5
Jan 2 07:26:11 fr pptpd[1604]: GRE: read(fd=6,buffer=804fa20,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Jan 2 07:26:11 fr pptpd[1604]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Jan 2 07:26:11 fr pptpd[1604]: CTRL: Client X.X.X.X control connection finished
这你会发现是 logwtmp插件版本不兼容出错了!
vi /etc/pptpd.conf
找到logwtmp,在前面加#
service pptpd restart
这里619大概就会解决,那些改NAT什么的教程似乎完全是水。。。
2. 如果出现628, 请修改你客户端的扶墙链接,“安全”标签--“数据加密”选项--下拉“Optional Encryption”(抱歉不知道中文系统原文应该是什么)
然后Authentication(认证)选择Allow these protocols - MicrosoftCHAPVersion2(MS-CHAPv2)