只改了 local ip remote ip dns 和 chap-secrets 其他默认
开了ip forwarding
但是连接是提示错误619
日志显示
Oct 10 23:33:02 s2 pppd[12619]: pppd 2.4.5 started by root, uid 0
Oct 10 23:33:02 s2 pppd[12619]: Using interface ppp0
Oct 10 23:33:02 s2 pppd[12619]: Connect: ppp0 <--> /dev/pts/1
Oct 10 23:33:02 s2 pptpd[12618]: GRE: read(fd=7,buffer=7f259ee45400,len=8260) from network failed: status = -1 error = Protocol not available
Oct 10 23:33:02 s2 pptpd[12618]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Oct 10 23:33:02 s2 pptpd[12618]: CTRL: Reaping child PPP[12619]
Oct 10 23:33:02 s2 pppd[12619]: Hangup (SIGHUP)
Oct 10 23:33:02 s2 pppd[12619]: Modem hangup
Oct 10 23:33:02 s2 pppd[12619]: Connection terminated.
Oct 10 23:33:02 s2 pppd[12619]: Exit.
开了ip forwarding
但是连接是提示错误619
日志显示
Oct 10 23:33:02 s2 pppd[12619]: pppd 2.4.5 started by root, uid 0
Oct 10 23:33:02 s2 pppd[12619]: Using interface ppp0
Oct 10 23:33:02 s2 pppd[12619]: Connect: ppp0 <--> /dev/pts/1
Oct 10 23:33:02 s2 pptpd[12618]: GRE: read(fd=7,buffer=7f259ee45400,len=8260) from network failed: status = -1 error = Protocol not available
Oct 10 23:33:02 s2 pptpd[12618]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Oct 10 23:33:02 s2 pptpd[12618]: CTRL: Reaping child PPP[12619]
Oct 10 23:33:02 s2 pppd[12619]: Hangup (SIGHUP)
Oct 10 23:33:02 s2 pppd[12619]: Modem hangup
Oct 10 23:33:02 s2 pppd[12619]: Connection terminated.
Oct 10 23:33:02 s2 pppd[12619]: Exit.