Sun

Setting Up PrivateVPN Network Manager TUN connection On Linux devices (RECOMMENDED)

  1. Home
  2. Knowledge Base
  3. VPN Service
  4. Setting Up PrivateVPN Network Manager TUN connection On Linux devices (RECOMMENDED)

Setting Up PrivateVPN Network Manager TUN connection On Linux devices (RECOMMENDED)

Step 1

Download the certificate file from this link
Download the key file from this link
Save these two files to your home directory, or another directory of your choice

Step 2

Click on the Ubuntu button in the dash panel
Type terminal
Click on the Terminal application

Setting Up PrivateVPN Network Manager TUN connection On Linux devices

Step 3

In the Terminal, enter this line: sudo apt-get install -y network-manager-openvpn and press enter.
If you’re using Ubuntu 16.04 or later. Run this Command: sudo apt-get -y install network-manager-openvpn-gnome

Linux Terminal Screen

Step 4

Enter your password for the Ubuntu account.

Second Linux Terminal Screen

Step 5

When the installation process is completed. Click on the Network icon – VPN Connections – Configure VPN

Linux Configure VPN

Step 6

Click on Add.

Add Network Connections On Linux

Step 7

Select OpenVPN and click on Create

Choose a VPN Connection Type

Step 8

Enter the following information. Select Connect automatically if you would the VPN to connect every time Ubuntu starts.
Connection name: PrivateVPN
Gateway: Depends on which country you want to connect to. For example Sweden, se-sto.privatevpn.com. See the server list below!
Type: Password
User name: Enter your user name for PrivateVPN
Password: Enter your password for PrivateVPN
CA Certificate: Click on the CA Certificate box
Open the ca.crt file
Click Advanced

You’ll find the server list here: Server list

Linux VPN Connection Settings

Step 9

Check Use LZO data compression
Check Set virtual device type and set it to TUN
Check IPv6 tun link
Click the Security tab

Linux OpenVPN Advanced Options

Step 10

Cipher: AES-256-CBC
HMAC Authentication: SHA-256
Click the TLS Authentication tab

OpenVPN Advanced Options Screen

Step 11

Check Verify peer (server) certificate usage signature and set the drop down box to Server
Check Use additional TLS authentication
Click the Key File box
Open the ta.key file
Set the Key Direction box to 1

More OpenVPN Advanced Options

Step 12

Click on the Network icon – VPN ConnectionsPrivateVPN

VPN Connections Option
Was this article helpful?

Related Articles