Introducing PureSquare – for security beyond VPNs

Visit our website

The newly launched password manager is a secure way to store, share, and generate strong passwords. Try PureKeep!

How to Setup PureVPN on Cent OS

Feb 04, 2020
Jan 04, 2023
0 Comments
Download PDF

If you’re having a hard time setting up PureVPN on Linux Cent OS supported devices, here’s a guide on how you can do it in the right and easiest way. Connect and stay secure on the web.

Things to Consider:

  1. You have a working internet connection
  2. Linux Cent OS Supported Device.
  3. A Premium PureVPN account (If you haven’t bought yet click 👉here to buy)
Find your VPN credentials for manual configuration.

To find your VPN credentials log into the PureVPN members area. Click 👉 here to visit member area.

  • Login to the Member area using your PureVPN registered email address and password.
  • From manage account section, go to the Subscriptions tab.
  • On Subscription tab scroll down to be able to view your VPN credentials
  • You will be able to see and copy your VPN credentials.
  • Note down your PureVPN username and click the Eye icon to make your password visible and use it in the manual configuration.
PPTP Configuration Guide for Cent OS
  • Go to the Applications option and search and open the Terminal.
  • Now you need to install PPTP Type the following three commands one by one:
1. sudo yum update
2. sudo yum install epel-release
3. sudo yum install NetworkManager
4. sudo yum install NetworkManager-pptp-gnome
  • When you finish the commands, logout/login is required. (Or preferably, restart the system)
  • Select the following options:
    1. Click Network Connection Icon
    2. Go to Wired Connected and select Wired Settings
  • Click the + icon to add a VPN connection and select Point to Point Tunneling Protocol (PPTP) option.
  • When the new window appear, complete the fields as below
  • Enter Connection name: PureVPN
  • Insert your desired server address in VPN Server. (Please refer to the server addresses shared in the note above).
    1. Germany: de1.pointtoserver.com
    2. Netherlands: nl1.pointtoserver.com
    3. United Kingdom: ukl1.pointtoserver.com
    4. United States: usil1.pointtoserver.com
    5. United States: ustx1.pointtoserver.com
    6. United States: usca1.pointtoserver.com
    7. United States: usfl1.pointtoserver.com
    8. United States: usny1.pointtoserver.com
    9. United States: uswdc1.pointtoserver.com
    10. Australia: au-sd1.pointtoserver.com
  • Enter your PureVPN credentials. Here is how you can 👉find your VPN credentials.
  • Click Advanced option.
  • Now, select the following:
    1. MSCHAP
    2. MSCHAPv2
    3. Allow BSD data compression
    4. Allow Deflate data compression
    5. Use TCP header compression
  • Click OK and then click Add from the top right corner.
  • Enable your VPN by swiping the toggle button.
  • You are now connected!
  • You can turn off the VPN connection by swiping the toggle button Off.
L2TP Configuration Guide for Cent OS
  • Go to the Applications option and search and open the Terminal.
  • Now, you need to install L2TP Type the following three commands one by one:
1. sudo yum update
2. sudo yum install epel-release
3. sudo yum install NetworkManager
4. sudo yum –enablerepo=epel-testing install NetworkManager-l2tp-gnome
  • When you finish the commands, logout/login is required. (Or preferably, restart the system)
  • Now, select the following options:
    1. Click Network Connection Icon
    2. Go to Wired Connected and select Wired Settings
  • Click the + icon to add a VPN connection and select Layer 2 Tunneling Protocol (L2TP) option
  • When the new window appear, complete the fields as below:
  • Enter Connection name: PureVPN
  • Insert your desired server address in VPN Server. (Please refer to the server addresses shared in the note above).
    1. Germany: de1.pointtoserver.com
    2. Netherlands: nl1.pointtoserver.com
    3. United Kingdom: ukl1.pointtoserver.com
    4. United States: usil1.pointtoserver.com
    5. United States: ustx1.pointtoserver.com
    6. United States: usca1.pointtoserver.com
    7. United States: usfl1.pointtoserver.com
    8. United States: usny1.pointtoserver.com
    9. United States: uswdc1.pointtoserver.com
    10. Australia: au-sd1.pointtoserver.com
  • Enter your PureVPN credentials. Here is how you can 👉find your VPN credentials.
  • Go to the IPsec Settings…
    1. Check the Enable Ipsec tunnel to IPsec host
    2. Pre-shared key: 12345678
  • Go to Advanced… option, then enter the following details:
    1. For phase 1= 3des-sha1-modp1024 and
    2. For phase 2 = 3des-sha1
  • Check the Disable PFS option.
  • Click OK
  • Go to the PPP Settings… button.
  • Only allow the following options:
    1. MSCHAP
    2. MSCHAPV2
    3. Allow BSD data compression
    4. Allow Deflate data compression
    5. Use TCP header compression
  • Click OK and then click Add button from the top right corner.
  • Enable your VPN by swiping the toggle button.
  • You are connected now!
  • You can turn off the VPN connection by swiping the toggle button Off
OpenVPN Configuration Guide for Cent OS
  • You will get a prompt asking what to do with the ZIP archive, select Save File and click OK. It should be downloaded to your Downloads directory.
  • Go to your Downloads directory, right click the ZIP archive and select Open With Archive Manager
  • Extract the files.
  • Rename the Extracted file as openvpn
  • Next step is installing the config files. Installing config files requires sudo privilege. Copy and paste the contents of the Zip file to directories that override Selinux, such as /etc/ and /opt
  • Follow the steps below when Selinux does not allow Network-Manager to access certificate files that are needed by OpenVPN. Click Applications at the top left of the screen, type Terminal in the search field to open the Terminal application.
  • In order to copy the extracted files to /opt/ partition, first change your directory to Downloads.
  • Run the following commands step by step:

sudo su

cd Downloads/

1. sudo yum install epel-release
2. sudo yum install openvpn
3. sudo yum install NetworkManager-openvpn-gnome
4. mkdir -p /etc/openvpn
5. sudo cp -rp openvpn /opt/
6. sudo chmod 644 openvpn/*
7. sudo chmod -R 755 /etc/openvpn/client.
  • Go to the Downloads directory, copy the openvpn folder and paste it under the etc >openvpn>client folder.
  • Select the following options:
    1. Click Network Connection Icon
    2. Go to Wired Connected and select Wired Settings
  • Click the + icon to add a VPN connection and select Import from File Option option.
  • Go to the newly created directory with config files in the openvpn folder under /etc/openvpn/client. Select the desired file with .ovpn extension.
  • Click Open button.
  1. Enter Connection name: German-TCP (Here we use German-TCP, you can change it any other name)
  2. Select Type: Password from drop down menu
  3. Enter your PureVPN credentials. Here is how you can👉 find your VPN credentials.
  4. Click Folder icon from the Certificate folder and add the ca.crt.crt file.
  5. Click Apply
  • Connect to PureVPN now. Select the VPN connection you have created. Toggle on the button to connect the VPN.
  • You are connected to VPN now!
OpenVPN Configuration Guide for Cent OS 8
  • First, open the web browser (Firefox) and download the PureVPN OpenVPN configuration files from👉 this link then Save and Extract them.
  • Go to the Terminal window and install OpenVPN client. Type the following commands one by one:
1. sudo yum -y update
2. sudo yum install epel-release
3. sudo yum install openvpn
4. sudo yum install NetworkManager-openvpn
5. sudo yum install NetworkManager-openvpn-gnome
  • Now Select the following options:
  • Click Wired Connection
  • Go to Networks
  • Click the + icon to add a VPN connection and select Import from file… option to upload an OpenVPN profile.
  • Go to the folder where you have downloaded the OpenVPN files and select your desired .ovpn file to connect.
  • When the new window appears, complete the fields as below:
  • Insert Connection name: PureVPN
  • Insert Gateway: (already selected/entered)
  • Connection Type: Password from drop down menu
  • Enter your PureVPN credentials. Here is how you can👉 find your VPN credentials.
  • CA Certificate: Already uploaded.
  • Сlick Add button.
  •  Now go to the Wired Connections option and under VPN Connections click on the Connect button to activate the VPN connection.
  • You are connected to PureVPN now!
Was this article helpful? Rate and share your comments below. Your input matters to us and everyone else in the Cyber Security Community.

How helpful did you find this answer?

Comments (0 )