Wireguard only works if I use `wg-quick`

I am using ubuntu 18.04 and I am trying to use wireguard with the NetworkManager, but does not recognize wireguard

I have tried the following command

nmcli connection import type wireguard file "$CONF_FILE"

but it throws an error that a VPN plugin for wireguard could not be found.

Instead, with the wg-quick command it works correctly

1 Answer

Ubuntu 18.04 ships NetworkManager version 1.10.6, which is three years old.

That version of NetworkManager does not support WireGuard. The first NetworkManager version that added support for WireGuard is 1.16.0.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like