Set up your own PPTP Vpn apt-get update apt-get install-y pptpd on VPS to edit/etc/pptpd. conf, add: localip 192.168.92.1 remoteip 192.168.92.11-16 localip is the address of the vpn Server remoteip is the address of the vpn Client, you can configure an address range to edit/etc/ppp/pptpd-options: ms-dns 8.8.8.8 ms-dns 8.8.4.4 edit/etc/ppp/chap-secrets and add an access account: username pptpd password * is: User Name VPN service name password assigned IP address (* Indicates unlimited) edit/etc/sysctl. conf: net. ipv4.ip _ forward = 1 remove the # sign in front of the edge, and then execute the following command to make the configuration take effect: sysctl-p edit/etc/rc. local (or/etc/init. d/rc. (important) VPS suitable for the OpenVZ architecture, 12.34.56.78 is the public IP address iptables-t nat-a postrouting-s 192.168.92.0/24-j SNAT -- to-source VPN Server IPchmod + x/etc/rc. localreboot