Linux导入WireGuard配置文件方法

导入配置文件

nmcli connection import type wireguard file ./peer1.conf

打开网络连接编辑器

nm-connection-editor