
准备工作
基于Xen的VPS一台,目前OpenVZ的VPS很少有支持PPTP的。
远程SSH工具,putty或XShell。
1、安装PPTP服务器
apt-get update
apt-get install pptpd
2、配置PPTP服务器
安装完成后使用你熟悉的编辑器,如vi、nano或可视化管理工具winscp编辑/etc/pptpd.conf
查找如下内容:
#localip 192.168.0.1
#remoteip 192.168.0.234-238,192.168.0.245
替换为:
localip 192.168.217.1
remoteip 192.168.217.23...