Wireguard
Wireguard in NetworkManager
On ubuntu 22.04, it’s supported, but we have to import the configuration using CLI. (From SLT, Fedora have a nice menu to do so).
note: On ubuntu, it’s possible to try network-manager-wireguard, found via NetworkManager official gnome project website.
Add a configuration
$ CONF_FILE="wg0.conf"
$ nmcli connection import type wireguard file "$CONF_FILE"
Connection 'wg0' (125d4b76-d230-47b0-9c31-bb7b9ebca861) successfully added.
Remove a configuration
$ nmcli connection delete wg0
Connection 'wg0' (125d4b76-d230-47b0-9c31-bb7b9ebca861) successfully deleted.
Edit a configuration
$ nmtui