Bug 502787 - [OpenVPN] Failed to import VPN connection: Unsupported 1th argument remote_host to "route"
Summary: [OpenVPN] Failed to import VPN connection: Unsupported 1th argument remote_ho...
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (other bugs)
Version First Reported In: 6.3.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-14 11:40 UTC by Malte S. Stretz
Modified: 2025-04-14 11:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot (12.86 KB, image/png)
2025-04-14 11:41 UTC, Malte S. Stretz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2025-04-14 11:40:43 UTC
SUMMARY
I tried to import an .ovpn file, probably generated by some Sophos VPN solution. It failes with the error message

> Failed to import VPN connection: configuration error: unsupported 1th argument remote_host to "route" (line 7)

The line 7 reads as follows (not obfuscated):

```
route remote_host 255.255.255.255 net_gateway
```

STEPS TO REPRODUCE
1. Try to import an ovpn file with the setting above.

OBSERVED RESULT
Can't import OpenVPN config

EXPECTED RESULT
A new OpenVPN connection.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-21-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Malte S. Stretz 2025-04-14 11:41:18 UTC
Created attachment 180255 [details]
Screenshot