- Run the following commands:
sudo yum update
sudo yum install pptp
sudo modprobe nf_conntrack_pptp
sudo modprobe ppp_mppe
- Run sudo nano /etc/ppp/chap-secrets to edit the chap-secrets file as shown below:
vpnusernamePPTPvpnpassword*
- Press CTRL+O to save the file, and CTRL+X to exit the editor.
- To create a PureVPN file, and enter the following information:
run sudo nano/etc/ppp/peers/purevpn
pty “pptp usca1.pointtoserver.com –nolaunchpppd” In this command make sure to enter two “-” symbols before “nolaunchpppd”
pty “pptp usca1.pointtoserver.com –nolaunchpppd”
name yourVPNusername
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam purevpn
- To save the file, press CTRL+O. To exit the editor, press CTRL+X. Please note that we have currently used 👉usca1.pointtoserver.com as the server address. You can choose any server of your choice. The list of servers is available in the above note.
- Germany: de1.pointtoserver.com
- Netherlands: nl1.pointtoserver.com
- United Kingdom: ukl1.pointtoserver.com
- United States: usil1.pointtoserver.com
- United States: ustx1.pointtoserver.com
- United States: usca1.pointtoserver.com
- United States: usfl1.pointtoserver.com
- United States: usny1.pointtoserver.com
- United States: uswdc1.pointtoserver.com
- Australia: au-sd1.pointtoserver.com
Run the command: sudo nano/etc/ppp/options.pptp Be sure there is no ‘#’ sign before these lines.
lock
noauth
refuse-pap
refuse-eap
refuse-chap
nobsdcomp
nodeflate
require-mppe-128.
- Once this is done, Press CTRL+X to exit.
- It will set the default route to ppp0. and add the following line.
Run sudo nano /etc/ppp/ip-up.local
/sbin/route add default ppp0.
- To save the file, press CTRL+O. To exit the editor, press CTRL+X. In order to execute the file, run:
sudo chmod 755 /etc/ppp/ip-up.local.
- Connect to the VPN by running sudo pppd call purevpn
Run curl ipinfo.io.
- To check the accuracy of your VPN IP and location.
- To disconnect the VPN, run sudo pkill pppd
- If you are unable to connect, please check your connection logs by running.