**Important Announcement** Starting June 15th, 2021, we are discontinuing PPTP, L2TP, and SSTP protocol support. See how it will impact your PureVPN experience. Read More >
If you are looking for a guide on setting up PureVPN on Linux CentOS via command line, you are in the right place. Follow this guide for command line setup on Linux CentOS with PureVPN.
Things to Consider:
Before you begin, please make sure that:
1 Run the following commands:
sudo yum update
sudo yum install pptp
sudo modprobe nf_conntrack_pptp
sudo modprobe ppp_mppe
2 Run sudo nano /etc/ppp/chap-secrets to edit the chap-secrets file as shown below:
Press CTRL+O to save the file, and CTRL+X to exit the editor.
3 To create a PureVPN file, run sudo nano<space>/etc/ppp/peers/purevpn and enter the following information:
Note: pty “pptp usca.pointtoserver.com –nolaunchpppd” In this command make sure to enter two “-” symbols before “nolaunchpppd”
pty “pptp usca.pointtoserver.com –nolaunchpppd”
To save the file, press CTRL+O. To exit the editor, press CTRL+X. Please note that we have currently used usca.pointtoserver.com as the server address. You can choose any server of your choice. The list of servers is available in the above note.
4 Run the command: sudo nano/etc/ppp/options.pptp Be sure there is no ‘#’ sign before these lines.
Once this is done, Press CTRL+X to exit.
5 Run sudo nano /etc/ppp/ip-up.localand add the following line. By doing so, it will set the default route to ppp0.
/sbin/route add default ppp0
6 To save the file, press CTRL+O. To exit the editor, press CTRL+X.
7 In order to execute the file, run: sudo chmod 755 /etc/ppp/ip-up.local
Comments (2 )