Lubuntu 20.04 Network-Manager import wireguard client/peer profile

1. Import wireguard client/peer configuration file via nmcli command.

nmcli import type wireguard file client1.conf

2. Edit Network-Manager connection settings.

nmcli connection modify client1 connection.autoconnect no
nmcli connection modify client1 connection.interface-name wg0

Comments