Missed Special Deal? The Last Chance with a promo code LAST20 read more >>

Comment configurer et gérer un VPN pour Ubuntu avec L2TP/IPSec

Etape 1

Press alt-f2 and type `x-terminal-emulator` then press enter

Etape 2

terminal emulator(console) will open

in order to install needed software please run these commands in console
user@ubuntu:~$ sudo apt-get install openswan xl2tpd l2tp-ipsec-vpn dconf-editor

Etape 3

`sudo` will ask you for your password, so enter it and enter 'y' when apt-get will ask you "Do you want to install continue? [Y/n]"
After software installation we need to change some configuration in order to allow applet to display in systray. Run this command:
user@ubuntu:~$ gsettings set com.canonical.unity-gtk-module whitelist "['all']"

Etape 1

Restart Ubuntu. After Ubuntu restarts you will see new icon in systray. Click on it and create a new connection.
Click tray icon then "Edit connections..."

Etape 5

Ubuntu will ask you for password in order to get root priveleges, so enter it

Etape 6

Connection manager will appear.

Click "Add" button.

Etape 7

Enter connection name "Trust.Zone-VPN" then click "OK".

Trust.Zone-VPN

Etape 8

Click "Edit" in order to configure Connection Settings.

Trust.Zone-VPN

Etape 9

Set IPSec Connection Settings.

Remote Server and Server Identity: vpn.trust.zone
Pre-shared Key: trustzone

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

Etape 10

Then switch to "PPP" tab, click "Allow these protocols" check "Unencrypted password (PAP)"and put your VPN login credentials.

User name: Caché. Connectez-vous ou inscrivez-vous pour voir.
Password: Caché. Connectez-vous ou inscrivez-vous pour voir.

Trust.Zone-VPN

Etape 11

Click "OK" then "Close" to close dialogs.

Now you can click icon in systray and connect VPN connection you just created by clicking it's name

Trust.Zone-VPN

Etape 12

You should get such message when your Ubuntu connects to VPN

vpn.trust.zone

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 · Hong Kong · Votre emplacement réel est caché!

Articles liés


Comment installer et configurer un VPN pour Ubuntu avec OpenVPN.

How to Set up VPN for Ubuntu with VLESS bulk. Trust.Zone Wizard.

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