I’m trying to add a wireguard config file that I downloaded from my VPN provider to my Kubuntu 25.04. I opened the system settings app, found the network page, and clicked add new network connection. When I select import saved VPN config, and import the config file the settings app gives an error.
Failed to import VPN connection: NetworkManager is missing support for OpenVPN
What’s up with this? I’m importing a Wireguard config-not an OpenVPN one. Appreciate any help!
I’ve got the same issue last week. The solution is to rename your .conf file to less than 15 characters.
The maximum length for a Linux network interface name is defined by the IFNAMSIZ macro in the kernel, which is typically 16 bytes. This includes a null-terminator, meaning the user-visible portion of the name can be up to 15 characters long.
For my case it wasn’t the 15 character limit. I tried that, but it did not work.
I figured out what the problem was eventually. WireGuard .conf files need to be named according to the VPN network interface they’re going to be used for. In my case this was “wg0.conf” and after renaming the file it was imported without issue. You can have more than one of course. Just rename them, and numerate as many as you need.
Made an account just to ‘heart’ your reply and say that this solution worked for me. Proton vpn wireguard generator makes .conf files names with more than 15 characters. NetworkSettings in KDE Plasma System Settings failed to import the exact same .conf file contents if the filename was too long.