Bug 491627

Summary: Import IPv6-only VPN config: ipv4.method: method "auto" is not supported for WireGuard
Product: [Applications] systemsettings Reporter: Malte S. Stretz <mss>
Component: kcm_networkmanagementAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Mullvad WireGuard config file

Description Malte S. Stretz 2024-08-12 15:11:16 UTC
Created attachment 172546 [details]
Mullvad WireGuard config file

SUMMARY
The attached config file was generated via https://mullvad.net/en/account/wireguard-config?platform=linux choosing "Only IPv6" for "Tunnel traffic".

Plasma NM fails to import this with the error message
> ipv4.method: method "auto" is not supported for WireGuard

It can be imported successfully via 
> nmcli connection import type wireguard file dk-cph-wg-001.conf

STEPS TO REPRODUCE
1. System Settings -> Wi-Fi & Internet
2. "Plus"
3. "Import VPN connection..."
4. Choose attached file

OBSERVED RESULT
Error

EXPECTED RESULT
A successfully imported WireGuard VPN connection

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.5.0-45-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: LENOVO
Product Name: 20F5S1H800
System Version: ThinkPad X260