Can't add WireGuard VPN connection to Ubuntu Network Manager
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't add WireGuard VPN connection to Ubuntu Network Manager
Hi everyone,
I'm having trouble adding a WireGuard VPN connection to the Network Manager on Ubuntu. I've followed several online tutorials and tried different methods, but nothing seems to work.
I've installed WireGuard using the sudo apt install wireguard
command and created the configuration file /etc/wireguard/wg0.conf
. The VPN connection works fine when I start it using the sudo wg-quick up wg0
command, but I can't seem to add it to the Network Manager.
When I go to "Add VPN Connection" in the Network Manager, I only see options for OpenVPN and PPTP. There's also an option to "Import from file", but when I select my wg0.conf
file, it says that the file format is not supported.
I've tried restarting the Network Manager with sudo service network-manager restart
, but that doesn't seem to help. I'm running Ubuntu 22.04.1 LTS.
Any help or suggestions would be greatly appreciated. Thanks in advance!
I'm having trouble adding a WireGuard VPN connection to the Network Manager on Ubuntu. I've followed several online tutorials and tried different methods, but nothing seems to work.
I've installed WireGuard using the sudo apt install wireguard
command and created the configuration file /etc/wireguard/wg0.conf
. The VPN connection works fine when I start it using the sudo wg-quick up wg0
command, but I can't seem to add it to the Network Manager.
When I go to "Add VPN Connection" in the Network Manager, I only see options for OpenVPN and PPTP. There's also an option to "Import from file", but when I select my wg0.conf
file, it says that the file format is not supported.
I've tried restarting the Network Manager with sudo service network-manager restart
, but that doesn't seem to help. I'm running Ubuntu 22.04.1 LTS.
Any help or suggestions would be greatly appreciated. Thanks in advance!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.