Buy VPN to Get A Better and Secure Internet Experience. Try our exclusive risk-free 7-day trial at $0.99 only!
If you are looking for a guide on setting up PureVPN on Linux CentOS via command line, you are in the right place. In this guide, we will discuss the steps to set up PureVPN on Linux CentOS via PPTP protocol.
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 here
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
Please use the comment box for your suggestions & feedback. For additional help, please submit support ticket with errors and screen shots (if possible) OR Contact our 24/7 live chat.
Comments (2 )