• Our hottest-selling 5-year plan at 89% off is ending tonight at 11:59 PM.

  • Upgrade my plan now ** Few Hours Left **

Don’t miss this last call! We’re saying good-bye to our 89% off hottest selling 5-year plan tonight. Upgrade now!  

Setup Guide for Ubuntu

Dec 14, 2021
Dec 01, 2022
0 Comments
Download PDF

If you’re having a hard time setting up PureVPN on Linux Ubuntu 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 Ubuntu 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 Ubuntu
PPTP is longer supported on Ubuntu version 18 and above. The below instructions are valid for Ubuntu verion below 18.

To begin setting up PPTP configuration on Ubuntu the first step is to click Network Connection Icon.

  • Once, done then go to VPN Connections and select Configure VPN…
  • Click Add
  • Click Drop down menu.
  • Select Point-to-Point Tunneling Protocol (PPTP) and click Create.
  • Select the following options:
  • Enter Connection name: PureVPN PPTP
  • Enter desired server in Gateway
  • Insert the desired server: Please use one of the servers provided below:
    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
  • Select the following options:
    1. Use Point-to-Point encryption (MPPE)
    2. Allow BSD data compression
    3. Allow Deflate data compression
    4. Use TCP header compression
    5. Uncheck EAP
    6. Click OK
  • Click Save… and close the Network Connections window.
  • Select the following options:
    1. Click Network Connection Icon.
    2. Go to VPN Connections and select newly created PureVPN PPTP connection.
  • You are successfully connected now. Enjoy the FREEDOM!!
  •  Select the following options:
    1. To disconnect VPN. Click Network Connection Icon
    2. Go to VPN Connections and select Disconnect VPN
L2TP Configuration Guide for Ubuntu
  • Open Terminal.
  • To install L2TP dependencies type following commands one by one:
1. sudo apt-get update
2. sudo apt-get install network-manager-l2tp
3. sudo apt-get install network-manager-l2tp-gnome
  • Click the Network icon in top right corner and choose Settings button in bottom left corner.
  • Click the plus + icon on your right to add new VPN connection.
  • Select Layer 2 Tunneling Protocol (L2TP) as your connection type.
  • Enter the following information:
  • Name: Enter a name for the connection you are adding, i.e. PureVPN
  • Insert the desired server: Please use one of the servers provided below:
    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 IPsec Settings…
  • Tick Enable IPsec tunnel to L2TP host and enter Pre-shared key: 12345678.
  • Then specify connection algorithms in Advanced section:
  • for phase 1= 3des-sha1-modp1024  and
  •  for phase 2 = 3des-sha1
  • Сlick OK
  • Now Click PPP Settings…
  • Tick Use Point to Point Encryption (MPPE)
  • Then check/ tick the following:
  • Allow BSD data compression
  • Allow Deflate data compression
  • Use TCP header compression
  • Сlick OK and then click Add in the top right corner.
  • Enable your VPN by swiping the toggle.
  • You are now connected to PureVPN!
SSTP Configuration Guide for Ubuntu

If you’re using a wireless connection, click on the Network Manager icon on your top desktop bar. This icon can be in the shape of 2 arrows or a signal meter. If you’re using a wired connection, click on the Ethernet icon on your top desktop bar.

  1. Download and Install required packages
  2. Configure SSTP protocol

Step 1: Download and Install required packages.

  • Open the Terminal Window and run the following commands step by step:
sudo add-apt-repository ppa:eivnaes/network-manager-sstp
sudo apt-get update
sudo apt-get install network-manager-sstp sstp-client.
  • Make sure you have downloaded the following packages:

For 64-bit:

  • network-manager-sstp-gnome_1.2.6-0ubuntu3_amd64.deb
sstp-client_1.0.13-0ubuntu1_amd64.deb
libsstp-api-0-dev_1.0.13-0ubuntu1_amd64.deb.

For 32-bit:

  • network-manager-sstp-gnome_1.2.6-0ubuntu3_i386.deb
libsstp-api-0_1.0.13-0ubuntu1_i386.deb
sstp-client_1.0.13-0ubuntu1_i386.deb
* After installing packages. Reboot your system..

Step 2: Configure SSTP protocol

  • Click the Network Connections Icon
  • Select the VPN Connections and click Configure VPN
  • Click on the Add button.
  • Click the drop-down menu and select Secure Socket Tunneling Protocol (SSTP). Then, click on the Create button.
  • Select the Secure Socket Tunneling Protocol (SSTP) and click on the Create button.
  • Enter the following information:
  • Enter Connection Name PureVPN SSTP
  • Insert the desired server: Please use one of the servers provided below:
    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.
  • Check Ignore certificate warnings
  • Click on the Advanced
  • Do the following:
    1. Uncheck Use Point-to-Point encryption (MPPE)
    2. Check the following options:
    3. Allow BSD Data compression
    4. Allow Deflate data compression
    5. Use TCP header compression
    6. Send PPP echo packets
    7. Click OK
  • Click Ok to Save these changes and close the Network connections window.
  • To connect to the SSTP VPN, open the Network Manager and select VPN Connections. Click on the newly setup option PureVPN SSTP connection.
  • After a few moments, the VPN should display a Connection successful message.
  • To Disconnect from the VPN.
  • Click the Network Connections Icon
  • Select the VPN Connections and click Disconnect VPN
IKEV Configuration Guide for Ubuntu
  • Go to Terminal window and type following commands one by one in order to install the required packages:
1. sudo bash
2. sudo apt-get update
3. sudo apt-get install strongswan libcharon-extra-plugins
  • Now create a vpn connection profile as follows:
    1. cat > /etc/ipsec.conf <<EOF #ipsec.config is the name of profile
    2. conn ike #ike is the connection name
    3.   keyexchange=ikev2
    4.   dpdaction=clear
    5.   dpddelay=300s
    6.   keyingtries=1
    7.   eap_identity=”purevpn0sxxx” #enter your purevpn credentials
    8.  leftauth=eap-mschapv2
    9.   left=%defaultroute
    10.   leftsourceip=%config
    11.   right=de-ikev.ptoserver.com #enter your desired ikev server address here
    12.   rightauth=pubkey
    13.   rightsubnet=0.0.0.0/0
    14.   rightid=%any
    15.   rightsendcert=never
    16.   type=tunnel
    17.   auto=add
  • EOF
  • Now create a vpn credentials profile as follows:
    1. cat > /etc/ipsec.secrets <<EOF
    2. “purevpn0sxxx” : EAP “password” EOF
  • Now copy the ca certificate file:
    1. cd /etc/ipsec.d/cacerts/
    2. cp /etc/ssl/certs/USERTrust_RSA_Certification_Authority.pem /etc/ipsec.d/cacerts/USERTrust_RSA_Certification_Authority.pem
  • Finally, in order to run/activate the vpn connection use the following commands:
1. sudo ipsec restart
2. sudo ipsec up ike
  • To disconnect the vpn connection use the following command
ipsec down ike
OpenVPN Configuration Guide for Ubuntu

In this guide, you will learn how to configure PureVPN on Ubuntu using OpenVPN protocol.

Note:
Dedicated IP add-on can be only be connected with Ras protocol i.e PPTP/L2TP/SSTP.
  • Click Dash Search for Terminal and Open it.
  • Insert command:
1. sudo apt-get install network-manager-openvpn
2. Hit enter
  • Type Y and hit enter to continue.
  • Now Insert Command:
1. sudo apt-get install network-manager-openvpn
2. sudo apt-get install network-manager-openvpn-gnome
  •  Once installation completes, close Terminal and download the required OpenVPN File from👉 here
  • Extract the Downloaded file.
  • Do the following:
    1. Click Network Connection Icon…
    2. Go to VPN Connections and select Configure VPN…
  • Click Add
  • Click Drop down menu.
  • Select OpenVPN and click Create
  • Insert the following info:
  • Enter Connection name: PureVPN OpenVPN
  • Enter desired Gateway: Open .ovpn file from OpenVPN folder to get the server address
  • Select Type: Password from drop-down menu
  • Enter your PureVPN credentials. Here is how you can👉 find your VPN credentials.
  • Click the folder icon from CA Certificate
  • Go to OpenVPN downloads folder, select ca.crt and click Open
  • Click Advanced.
  • From General tab select following options:
    1. Check Use custom gateway port: For UDP insert 53 and For TCP insert 80
    2. Check Use LZO data compression
    3. For TCP connection select Use a TCP connection
    4. From Security tab select following options:
    5. From Cipher: Select AES-256-CBC or desired encryption
    6. From HMAC Authentication: Select SHA-1
    7. Form TLS Authentication tab:
    8. Select Use additional TLS authentication
    9. Click folder icon next to Key File
    10. Go to OpenVPN downloaded folder, select Wdc.key and click Open
  • Do the following:
    1. Select 1 from Key Direction
    2. Click OK
  • Click Save… and close the Network Connections window
  • Once done please do the following:
    1. Click Network Connection Icon…
    2. Go to VPN Connections and select the newly created PureVPN OpenVPN connection.
  • You are connected now. Enjoy the FREEDOM!
  • To disconnect VPN
    1. Click Network Connection Icon.
    2. Go to VPN Connections and select Disconnect VPN.
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 )