# Adding Wireguard vpn config fails...because OpenVPN support is missing?

**URL:** <https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387>\
**Category:** Help\
**Tags:** plasma, vpn\
**Created:** [August 11, 2025, 6:05pm UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387 "2025-08-11T18:05:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pacifist3](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/p/f0a364/32.png) [@Pacifist3](https://discuss.kde.org/u/Pacifist3)\
**Post date:** [August 11, 2025, 6:05pm UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/1 "2025-08-11T18:05:31Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![barryascott](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@barryascott](https://discuss.kde.org/u/barryascott)\
**Post date:** [August 12, 2025, 1:27pm UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/2 "2025-08-12T13:27:46Z")

</div>

At least with Fedora KDE Plasma I can add a Wireguard VPN with none of the vpnc/openvpn packages installed.

1. Run System Settings
2. Wi-Fi & Networking
3. Click `+` to add a new connection
4. Scroll down to end of the list where `Wireguard` is and select.
5. Click `+ Create`

---

<div class="post-metadata">

**Author:** ![Pacifist3](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/p/f0a364/32.png) [@Pacifist3](https://discuss.kde.org/u/Pacifist3)\
**Post date:** [August 14, 2025, 2:20am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/3 "2025-08-14T02:20:50Z")

</div>

I tried as you say, but no good. I guess I’ll submit a bug report to KDE after I find where to do that. This doesn’t sound like expected behaviour.

---

<div class="post-metadata">

**Author:** ![barryascott](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@barryascott](https://discuss.kde.org/u/barryascott)\
**Post date:** [August 14, 2025, 7:34am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/4 "2025-08-14T07:34:47Z")

</div>

Given that this works in Fedora I suspect it’s an issue for your linux distribution’s packaging not KDE.

---

<div class="post-metadata">

**Author:** ![lbcom](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/lbcom/32/24253_2.png) [@lbcom](https://discuss.kde.org/u/lbcom)\
**Post date:** [August 14, 2025, 7:44am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/5 "2025-08-14T07:44:57Z")

</div>

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.

Cheers.

---

<div class="post-metadata">

**Author:** ![barryascott](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@barryascott](https://discuss.kde.org/u/barryascott)\
**Post date:** [August 14, 2025, 7:53am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/6 "2025-08-14T07:53:25Z")

</div>

> [@lbcom](#):
>
> I’ve got the same issue last week. **The solution is to rename your .conf file to less than 15 characters.**

I’m guessing that there is not an error messages that explains this is the issue?

---

<div class="post-metadata">

**Author:** ![lbcom](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/lbcom/32/24253_2.png) [@lbcom](https://discuss.kde.org/u/lbcom)\
**Post date:** [August 14, 2025, 7:58am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/7 "2025-08-14T07:58:36Z")

</div>

Yeah, the error message sucks.

---

<div class="post-metadata">

**Author:** ![Pacifist3](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/p/f0a364/32.png) [@Pacifist3](https://discuss.kde.org/u/Pacifist3)\
**Post date:** [August 19, 2025, 2:42am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/8 "2025-08-19T02:42:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![devious104](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/d/b5a626/32.png) [@devious104](https://discuss.kde.org/u/devious104)\
**Post date:** [December 26, 2025, 6:48am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/9 "2025-12-26T06:48:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![talyasolutia](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/t/c77e96/32.png) [@talyasolutia](https://discuss.kde.org/u/talyasolutia)\
**Post date:** [March 18, 2026, 12:35pm UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/10 "2026-03-18T12:35:38Z")

</div>

same. this problem really needs fixing, the solution is so simple but the error messages are unhelpful.

---

<div class="post-metadata">

**Author:** ![Pacifist3](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/p/f0a364/32.png) [@Pacifist3](https://discuss.kde.org/u/Pacifist3)\
**Post date:** [March 19, 2026, 5:15am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/11 "2026-03-19T05:15:08Z")

</div>

I’m actually not sure where to submit a bug report on this. Is it Kubuntu, or KDE?

---

<div class="post-metadata">

**Author:** ![talyasolutia](https://discuss-cdn.kde.org/letter_avatar_proxy/v4/letter/t/c77e96/32.png) [@talyasolutia](https://discuss.kde.org/u/talyasolutia)\
**Post date:** [March 19, 2026, 9:17am UTC](https://discuss.kde.org/t/adding-wireguard-vpn-config-fails-because-openvpn-support-is-missing/38387/12 "2026-03-19T09:17:18Z")

</div>

seems to me more like a KDE bug than an ubuntu bug, since it’s not that the error message shouldn’t be there, it should just have different text.
