Dec 18 02:19:55 test1 pptpd[23539]: MGR: connections limit (100) reached, extra IP addresses ignored
Dec 18 02:19:55 test1 pptpd[23540]: MGR: Manager process started
Dec 18 02:19:55 test1 pptpd[23540]: MGR: Maximum of 100 connections available
Dec 18 02:20:24 test1 pptpd[23545]: CTRL: Client 112.65.172.22 control connection started
Dec 18 02:20:24 test1 pptpd[23545]: CTRL: Starting call (launching pppd, opening GRE)
Dec 18 02:20:24 test1 pppd[23546]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
Dec 18 02:20:24 test1 pptpd[23545]: GRE: read(fd=6,buffer=506b80,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 18 02:20:24 test1 pptpd[23545]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Dec 18 02:20:24 test1 pptpd[23545]: CTRL: Client 112.65.172.22 control connection finished

解决办法:注释掉/etc/pptpd.conf中logwtmp项即可。

PPTPD作VPN服务器架设简单几步:

在el5上的kernel已经支持PPTPD所需环境了。

1、只需先安装PPTP、PPTPD、即可(采用RPM方式安装,或者yum直接Install)

2、编辑pptpd.conf修改

localip  #服务器本机的虚地址(和客户端在一个网段,不是实际服务器网卡IP)

remoteip  #分发给服务器的IP地址段

netmask

修改/etc/ppp/option.pptpd中

name pptpd

ms-dns

修改/etc/ppp/chap-secrets

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
test pptpd test *