[How To] Configure WireGuard via the NetworkManager GUI (Advanced Network Manager)

I’m writing this due to the lack of any tutorials when trying to configure this myself.
Wanted to provide some easy to follow instructions for future reference & anyone else interested!

  1. Install nm-connection-editor via your package manager.

  2. Open the Advanced Network Configuration GUI, add a new connection & select WireGuard

    Screenshot from 2023-04-05 18-33-00
    Screenshot from 2023-04-05 18-33-20

  3. Use the following diagram to translate your WireGuard client config file to the Advanced Network Configuration GUI.

Enjoy your WireGuard VPN integrated into the OS!

I hope this helps!

Note: the “Listen port” will not be in your WireGuard client config.
I used 58909 & that worked for me.

1 Like


I was JUST trying to get this to work, and for the life of me I could not figure it out.

My problem was that I didn’t have the IPV4 settings correct. I kept thinking I needed to supply a gateway in the manual config. When I did that (using the VPN address as the gateway), I was required to use a netmask of 24 and nothing would work. By supplying 32 as the netmask and omitting the gateway, everything worked!