1. If your OS is CentOS/RedHat 6 & CentOS/RedHat 7: yum install -y ppp perl nano iptables cd /usr/local/src wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.4.0-1.el6.x86_64.rpm rpm -Uhv pptpd-1.4.0-1.el6.x86_64.rpm If you are using Ubuntu: apt-get update apt-get install -y pptpd 2. Open files with your favorite editor, we use vim here nano /etc/pptpd.conflocalip 192.168.0.1 # Replace with your VPS IP remoteip 192.168.0.101-200 3. nano /etc/ppp/chap-secretsusernameForuser1 * setpassword1here *
確定! 回上一頁