Vente spéciale Obtenez 2 ans + 1 an GRATUIT ! L'offre limitée >>

Comment créer une connexion VPN pour Ubuntu 16 avec OpenVPN

Etape 1

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

Etape 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

Etape 3

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

Etape 4

Click on "Add".

Etape 5

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

Etape 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:  Caché. Connectez-vous ou inscrivez-vous pour voir.

Trust.Zone-VPN.ovpn

Etape 7

Select "Password" from "Type" drop-down menu, enter your VPN username and password.
Your VPN Username: Caché. Connectez-vous ou inscrivez-vous pour voir.
Your VPN Password: Caché. Connectez-vous ou inscrivez-vous pour voir.

Download certificate file and click "CA Certificate" file chooser to choose certificate file.
Certificate file: Caché. Connectez-vous ou inscrivez-vous pour voir.

Trust.Zone-VPN vpn.trust.zone

Etape 8

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

Trust.Zone-VPN.pem

Etape 9

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

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

Etape 10

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

Trust.Zone-VPN

Etape 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...".

Etape 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.

Votre IP: x.x.x.x · Canada · Votre emplacement réel est caché!

Articles liés


Trust.Zone VPN Manuel pour les autres systèmes d'exploitation et systèmes d'exploitation et appareils