elementary / switchboard-plug-network

Switchboard Network Plug
GNU General Public License v3.0
20 stars 23 forks source link

WireGuard: (WIP) add WireGuard connections to the VPN page #302

Closed Peter-van-der-Velde closed 6 months ago

Peter-van-der-Velde commented 2 years ago

This merge would add WireGuard connections to the VPN page and implement issue #286.

At the time of writing it supports the following:

The reason I'm marking this request as WIP is, that as of now the following things have not been implemented:

The included nm-connection-editor (in Elementary OS 6 beta 1) has no support for WireGuard, and thus editing and creating connections is not yet possible using this approach.

Two possible solutions would be to either:

I'd love to see your feedback on this suggested merge and your input.

milouse commented 2 years ago

Hi,

Thank you very much for your work!

I allowed myself to look at your code and rebased it on master (instead of merging master in it: it is more clear what code we did). Then I just make some refactoring. You can see it here: https://github.com/milouse/switchboard-plug-network/tree/wireguard

I compile it against libnm 1.32.12 on archlinux and confirm this code is working and allow one to edit a previously created wireguard config. Thus only thing blocking now is creating a new connection through the gui, what is an upstream problem imho. As soon as they will allow it, it will be taken into account here.

Peter-van-der-Velde commented 6 months ago

Closing this, as by the work of others this has been finally completed and merged, as seen in pull request #338.
My thanks for cleaning it up and bringing it up to date with the main branch.