我正在尝试在我的 VPS 上安装并运行 PPTP。我已遵循各种指南,但是设置完成后我无法连接到 VPN。
我检查了我的 VPS,/var/log/messages
发现了这一点:
1832 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Client 86.8.79.197 control connection started
1833 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Starting call (launching pppd, opening GRE)
1834 Dec 2 23:38:55 server9987 pppd[1471]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
1835 Dec 2 23:38:55 server9987 pppd[1471]: This system lacks kernel support for PPP. This could be because the PPP kernel module could not be loaded, or because PPP was not inc luded in the kernel configuration. If PPP was included as a module, try `/sbin/modprobe -v ppp'. If that fails, check that ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file in the ppp distribution for more details.
1836 Dec 2 23:38:55 server9987 pptpd[1470]: GRE: read(fd=6,buffer=8059680,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termina tion of pppd, check option syntax and pppd logs
1837 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
1838 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Client 86.8.79.197 control connection finished
它说我的“系统缺少对 PPP 的内核支持”。这可能是导致问题的原因吗?如果是,有解决办法吗?
答案1
您几乎肯定使用的是基于 OpenVZ 的 VPS。在这种情况下,主机必须为您启用 ppp 内核模块(以及您可能需要的任何其他功能)。向您的托管服务提供商开具支持单。
如果他们无法或不愿意为您做出此更改,请购买另一个不使用 OpenVZ 的 VPS,以便您可以选择自己的内核模块。