Here is a patch for 24.04 (noble). It has been a long time since I've done any *buntu dev work so I'm sure I screwed something up. If not, great here is a patch, otherwise let me know what I screwed up or feel free to tweak/improve it. I just finished testing this and now I can connect to an old OpenVPN router in the field.
Note that you will have to run the following command after installing this: nmcli connection modify <connection_name> +vpn.data data-ciphers- fallback=<cipher> Example: nmcli connection modify someoldrouter +vpn.data data-ciphers- fallback=AES-128-CBC ** Patch added: "Patch to fix issue in 24.04." https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/2077864/+attachment/5834898/+files/1.10.2-4ubuntu1.debdiff -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager-openvpn in Ubuntu. https://bugs.launchpad.net/bugs/2077864 Title: `data-ciphers-fallback` impossible for openvpn connection Status in network-manager-openvpn package in Ubuntu: Confirmed Bug description: My TPlink router is not very configurable. I can connect to it using `--data-ciphers-fallback AES-128-CBC`, but this seems to be impossible to configure in the network manager. This is similar to the bug here: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1993634 which states that --data-ciphers has been added upstream in debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012664), yet there is no mention of --data-ciphers-fallback. If I try to manually edit the .yaml file in /etc/netplan/, by adding the line `vpn.data-ciphers-fallback: "AES-128-CBC"` I get the following error in /var/sys/syslog: 2024-08-26T11:27:38.979379+02:00 esperanza NetworkManager[1421097]: <warn> [1724664458.9792] vpn[0x5859c6179920,f01dbf90-536f-4b22-8d5a-13e26b34993f,"TPlink_config"]: connect: failed to connect interactively: 'GDBus.Error:org.freedesktop.NetworkManager.VPN.Error.BadArguments: property “data-ciphers-fallback” invalid or not supported' Without that line, I get this error: 2024-08-26T11:15:31.909947+02:00 esperanza nm-openvpn[1416267]: OPTIONS ERROR: failed to negotiate cipher with server. Configure --data-ciphers-fallback if you want to connect to this server. ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: network-manager-openvpn 1.10.2-3 ProcVersionSignature: Ubuntu 6.5.0-44.44-generic 6.5.13 Uname: Linux 6.5.0-44-generic x86_64 ApportVersion: 2.27.0-0ubuntu5 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Mon Aug 26 11:18:45 2024 InstallationDate: Installed on 2021-10-12 (1049 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) SourcePackage: network-manager-openvpn UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/2077864/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

