How to set up IKEv2 VPN connection on Ubuntu 17

How to set up IKEv2 VPN connection on Ubuntu 21


This manual is only for Ubuntu 17 operating system.

Ubuntu 16 contains obsolete packages that do not work correctly.
We recommend setup OpenVPN connection on Ubuntu 16.


Go to All Programs.

All Programs Ubuntu 17


Enter into the search: terminal and run the Terminal.

Terminal on Ubuntu 17


Enter the command. You may need to enter a password.

sudo apt-get update

Updating on Ubuntu 17


Run the following command to install the applications.

sudo apt-get install -y strongswan network-manager-strongswan libcharon-extra-plugins

Installing IKEv2 on Ubuntu 17


Go to VPN Settings.

Settings for IKEv2 VPN on Ubuntu 17


Click to sign +.

Create IKEv2 VPN connection on Ubuntu 17


Choose IPSec/IKEv2 (strongswan).

IKEv2 VPN on Ubuntu 17


In the Subscriptions section, choose domain for IKEv2 VPN and look for Username and Password VPN.

List of IKEv2 VPN servers


Follow these steps:

  1. Write any connection name
  2. Domain of IKEv2 VPN server from My Account page
  3. Authentication EAP
  4. Username VPN
  5. Click on the user icon to save the password
  6. Password VPN
  7. Mark checkbox
  8. Mark checkbox
  9. Click Add

Username and Password for IKEv2 VPN on Ubuntu 17


Connect to IKEv2 VPN on Ubuntu 17.

Connection to IKEv2 VPN on Ubuntu 17


IKEv2 VPN connection established successfully.

Successful connection to IKEv2 VPN on Ubuntu 17


You can also connect to the IKEv2 VPN via the top menu.

Connection to IKEv2 VPN via menu on Ubuntu 17


Disconnect from VPN network if necessary.

Disconnection from IKEv2 VPN via menu on Ubuntu 17





Ask your question