Special Deal Get 2 Years + 1 Year FREE ! Limited Offer >>

How to Create VPN Connection for Ubuntu 16 with OpenVPN

Step 1

Run Terminal emulator: Press Alt+F2 on the keyboard, type x-terminal-emulator and press Enter.

Step 2

Install OpenVPN with the following command.
sudo apt-get install network-manager-openvpn openvpn

For Ubuntu 16.04 install also network-manager-openvpn-gnome
sudo apt-get install network-manager-openvpn-gnome

Step 3

Open the network menu, go to "VPN Connections" and click on "Configure VPN...".

Step 4

Click on "Add".

Step 5

Click on "Import a saved VPN configuration..." and click "Create"

Step 6

Download the OpenVPN configuration file (.ovpn file), select "Downloads" section, and open Trust.Zone-VPN.ovpn file by double click on it.

OpenVPN configuration file:  HIDDEN. Log in or Sign up to see.

Trust.Zone-VPN.ovpn

Step 7

Select "Password" from "Type" drop-down menu, enter your VPN username and password.
Your VPN Username: HIDDEN. Log in or Sign up to see.
Your VPN Password: HIDDEN. Log in or Sign up to see.

Download certificate file and click "CA Certificate" file chooser to choose certificate file.
Certificate file: HIDDEN. Log in or Sign up to see.

Trust.Zone-VPN vpn.trust.zone

Step 8

Navigate to "Downloads" and double click on certificate name to choose it.

Trust.Zone-VPN.pem

Step 9

Сlick "Save..." in order to save VPN connection settings.

vpn.trust.zone Trust.Zone-VPN.pem

Step 10

Click network menu icon, choose "VPN Connections" and click on your created connection name to establish a VPN connection.

Trust.Zone-VPN

Step 11

If connection has been successfully established, the status is shown in the menu bar and in balloon message.

In order to manage your VPN connections click "Network Connections" icon, choose "VPN Connections" => "Configure VPN...".

Step 12

After you get connected to the Trust.Zone VPN your IPv4 IP address will change, but your IPv6 address will remain the same.

This is not a problem in case your ISP does NOT support IPv6, but in case it does, your IPv6 address may leak.

The best way to prevent IPv6 from leaking we recommend to disable IPv6 in your linux distro. Here is how you can do that.

To check if IPv6 is already disabled please run the following command:

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

If command returns 1, then IPv6 is already disabled and you can skip steps below. In case return value is 0, please follow the instructions below:

Please open /etc/sysctl.conf file in your favorite text editor. In our example we will use nano editor.

sudo nano /etc/sysctl.conf

Add the following lines at the end of the file:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Now you can save the file and exit the editor. In case you use nano, you need to press Ctrl-O to write changes and press Enter to confirm file write. Then you can press Ctrl-X to exit the editor.

Run the following command to update kernel parameters:

sudo sysctl -p

The command will return lines you've added to /etc/sysctl.conf

Now, when you run cat /proc/sys/net/ipv6/conf/all/disable_ipv6 the command should return 1. This means IPv6 is disabled, so IPv6 leak is no longer possible.

Connection check

Open Trust.Zone Main page or reload it if it is already open in order to check if your connection with Trust.Zone VPN is established correctly.
You can also visit our Connection Check Page.

Your IP: x.x.x.x · Poland · You are in TRUST.ZONE now! Your real location is hidden!

Related Articles


Trust.Zone VPN Manual for other OS and Devices