[Networkmanager] Networkmanager and WireGuard

Petric Frank pfrank at gmx.de
Mon Sep 18 13:53:20 UTC 2023


Hello,

i have imported a client config. The procedure was to place the wireguard
client config as /etc/wireguard/wg0.conf

Then i did
  nmcli connection import type wireguard file /etc/wireguard/wg0.conf

This worked so far and the connection was immediately established with the
remote system.

After import i wanted to rename the connection using the nm applet (Plasma)
from wg0 to something else. The reason was to get a speaking name to identify
the connection like it was possible for other VPNs like OpenVPN.

But this fails. It tells something like "save failed because of invalid name".

Any hints ?

System: Debian 12.1 (stable, up to date)

regards
  Petric





More information about the Networkmanager mailing list