Oferta especial Obtenez 2 ans + 1 an GRATUIT ! Oferta limitada >>

Cómo crear una conexión VPN para Ubuntu 16 con OpenVPN

Paso 1

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

Paso 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

Paso 3

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

Paso 4

Click on "Add".

Paso 5

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

Paso 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:  OCULTO. Entre o Regístrese para ver.

Trust.Zone-VPN.ovpn

Paso 7

Select "Password" from "Type" drop-down menu, enter your VPN username and password.
Your VPN Username: OCULTO. Entre o Regístrese para ver.
Your VPN Password: OCULTO. Entre o Regístrese para ver.

Download certificate file and click "CA Certificate" file chooser to choose certificate file.
Certificate file: OCULTO. Entre o Regístrese para ver.

Trust.Zone-VPN vpn.trust.zone

Paso 8

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

Trust.Zone-VPN.pem

Paso 9

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

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

Paso 10

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

Trust.Zone-VPN

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

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

Tu IP: x.x.x.x · Suiza · ¡Estás en TRUST.ZONE ahora! ¡Tu verdadera localización está oculta!

Artículos relacionados


Manual de Trust.Zone VPN para otros S.O y dispositivos