SUMMARY When importing an ovpn file with multiple "remote" lines, if the first line denotes a UDP connection and a subsequent line denotes a TCP connection, the imported connection uses the IP address of the first line, but with TCP. STEPS TO REPRODUCE This happened to me with Company-produced ovpn file which obviously I cannot share, so following is a suggestion how to reproduce. 1. Obtain a valid .ovpn file with a UDP connection, which is known to work 2. Below the "remote" line, add another "remote" line with a different IP and "tcp" in the 4th column 3. Import the file using the connection editor OBSERVED RESULT The created connection contains the right (first) IP address, but is a TCP connection (when clicking "Advanced", "Use a TCP connection" is checked" and the connection doesn't work) EXPECTED RESULT The connection should be a UDP connection as with the unmodified file. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 32 KDE Plasma Spin (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.13.2 ADDITIONAL INFORMATION
Created attachment 129277 [details] proposed git-am fix
Can you please submit your change in our Gitlab instance? Link: https://invent.kde.org/plasma/plasma-nm/-/merge_requests
(In reply to Jan Grulich from comment #2) > Can you please submit your change in our Gitlab instance? > > Link: https://invent.kde.org/plasma/plasma-nm/-/merge_requests Done. Wasn't sure where this should go....
https://invent.kde.org/plasma/plasma-nm/-/merge_requests/3 was the merge request