Public bug reported:

As openvpn 2.5 is EOL starting July 2024 (in days) I upgraded our
servers to 2.6

I was then not able to connect to the openvpn server using Network
Manager (2.5 server was fine)

I could still connect via cli.

I found the issue was the fact Network Manager has no concept of data-
ciphers - cli connected even without a data-ciphers line.

I eventually found out how to fix this (randomly)

I found the netplan file associated with the vpn connection - in my case

/etc/netplan/90-NM-593c9490-1bcc-4063-97e8-9a42ae7faa3c.yaml

I edited it and added a line (I randomly guessed this would work)

          vpn.data-ciphers:
"AES-256-CBC:AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305"

Then applied netplan and restarted NetworkManager

And now I can connect...

Seeing as now any versions openvpn below 2.6 are EOL shouldn't network
manager be fixed fairly soon ?

Also if I then make any changes in Network manager to the vpn profile it
breaks it (by removing the line)

(is this an issue with sticking with Plasma 5.x also ?

More info found in (this is gnome, but still network manager)

https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/-/issues/97

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: network-manager-openvpn 1.10.2-4build2
ProcVersionSignature: Ubuntu 6.8.0-36.36-generic 6.8.4
Uname: Linux 6.8.0-36-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Jun 27 16:01:34 2024
InstallationDate: Installed on 2023-10-12 (259 days ago)
InstallationMedia: Kubuntu 23.10 "Mantic Minotaur" - Release amd64 (20231010)
SourcePackage: network-manager-openvpn
UpgradeStatus: Upgraded to noble on 2024-05-31 (27 days ago)

** Affects: network-manager-openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2071366

Title:
  Network Manager openvpn (24.04 )  doesn't work with openvpn 2.6  (2.5
  is EOL in days)  - no data-ciphers options

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/2071366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to