Hello again :)

I’m not talking about a broken wg connection, everything works as expect through the CLI and systemctl.

But the NetworkManger GUI in Gnome shows my Wireguard connection as it was “not connected” and when I click on the switch it actually disconnects my wg interface.

Also when I try to edit my connection through

nmcli connection modify wg0 connection.autoconnect yes

and restart my wireguard connection with

systemctl restart wg-quick@wg0

It recreates a new wireguard interface.

While everything works as expected with the usual tools (wg-quick, systemctl…) the GUI seems “broken”.

Someone else noticed or is this somehow related to my setup?

Debian 12 bookworm
Gnome 
nmcli tools 1.42.4
  • d_k_bo@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    GNOME got proper Wireguard support in version 44, unfortunately Debian stable ships an outdated version (43).

    • progandy@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      In that case you should ignore the interface in networkmanager (set it as unmanaged) and add one of the wireguard gnome shell extensions i think.