NetworkManager 1.16 got native support for WireGuard VPN tunnels (NEWS). WireGuard is a novel VPN tunnel protocol and implementation that spawned a lot of interest. This blog post explains how to use WireGuard with NetworkManager, covering importing existing profiles, creating new profiles from scratch, and configuring peers.
Modern Network Manager supports wireguard by default, including one in Ubuntu 22.04 (maybe earlier). It's compiled-in, so wireguard package isn't needed. However, as of 22.04 Ubuntu network settings didn't support WG yet.
This guide walks you through setting up WireGuard VPN using NetworkManager on Linux.