https://bugs.kde.org/show_bug.cgi?id=422889

            Bug ID: 422889
           Summary: import of ovpn config file produces wrong result with
                    multiple "remote" lines
           Product: plasma-nm
           Version: 5.18.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: editor
          Assignee: jgrul...@redhat.com
          Reporter: urisimch...@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to