Wireguard unavailable as an option when adding a new VPN
What Happened?
Wireguard support was released a while back, but I've never gotten it to work. I'm currently running elementary OS 8, and I have the wireguard package installed. Rebooting didn't help.
See screenshot below showing the "add new VPN" dialog:
I tried to import from a connection file (i.e. a file backed up from /etc/NetworkManager/system-connections/), but it says it's unsupported when I pick it.
Steps to Reproduce
- Install and update elementary OS 8.
- Install
wireguardpackage and reboot - open Settings, then Network, then VPN, then Add a Connection
Expected Behavior
There should be a way to manually add a Wireguard connection, filling in details in a form; or at least let us import from a file. None of that appears to be available.
OS Version
8.x (Circe)
Session Type
Secure Session (Wayland)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
- Dell Inspiron 15 3583 (amd64 laptop)
I got it to import from a wg-quick .conf file instead. It works...
Then it opens up this window where you can edit its details:
I just think this feature needs to be more DISCOVERABLE.
On a related matter...
I've added these additional Wireguard connections. Notice that they are all active, all at once. This is default behavior, believe it or not. They are enabled automatically when you login.
To turn this off, you have to go to the General tab and uncheck the box labelled as "Connect automatically with priority" (translated from Portuguese).
I've also disabled the checkbox "All users can connect to this VPN". This should not be the default on a multi-user system such as elementary OS.
Another similar option exists in the Wireguard tab, in the Private Key field. "Store this password for this user" or "Store this password for all users" (default). Unfortunately, selecting the former (store for user only) makes the private key field go blank — it loses the data.
My expectation is that the dropdown select contains a fourth option Import wireguard .conf file
This was my original comment to this but I think this is kinda out of scope of the original issue topic: Created this issue instead: #432
Original comment I found that after adding the config with wg-quick, it connects successfully and I see the connected VPN in the wingpanel When I click on it to disconnect, it disappears. Instead I want the entry to stay so I can reconnect comfortably from wingpanel at any time
If I am not mistaken, Wireguard has been added to the network in PR #338. Thus this should not be a feature request, but a BUG and/or a REGRESSION.
I think that only adds the ability to import from a wg-quick file or from an existing NetworkManager connection; and they never added a GUI to configure a Wireguard connection — like the one GNOME has. This is a feature request for that.
I think that only adds the ability to import [a config file] and they never added a GUI to configure a Wireguard connection […].
Oh, okay. In that case it’s a feature request alright. Ignore me and carry on. 😅