安装docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
systemctl start docker
systemctl enable docker.service
安装pptpd
mkdir -p /etc/ppp
touch /etc/ppp/chap-secrets
echo "# Secrets for authentication using PAP" >> /etc/ppp/chap-secrets
echo "# client server secret acceptable local IP addresses" >> /etc/ppp/chap-secrets
echo "xxlvpn * twAZQDExHYm *" >> /etc/ppp/chap-secrets
docker run -d --privileged --net=host -v /etc/ppp/chap-secrets:/etc/ppp/chap-secrets mobtitude/vpn-pptp
如何在CentOS 6.10环境下安装docker :
https://www.pudn.com/news/6254576b47503a0a93a4fb43.html
CentOS 6 Yum源不可用解决方法 :
http://www.gzidc.com/FrontCms/getHelpArticleShow/cat_id/135/art_id/1273.html