1.先安装ppp, pptpd
yum install -y epel-release
yum install -y ppp
yum install -y pptpd
2.修改 /etc/pptpd.conf
设置拨号连接的地址池,
localip 172.168.0.1
remoteip 172.168.0.2-200
3.修改 /etc/ppp/options.pptpd
设置客户端dns服务器ip,
ms-dns 8.8.8.8
ms-dns 114.114.114.114
4.修改 /etc/ppp/chap-secrets
设置远程拨号的用户名、密码,
user