Open epoxi opened 1 year ago
The network-manager-openconnect
package comes from Ubuntu; Pop!_OS is not currently repackaging it. (You can see this in your apt policy
output, where the URL is the Ubuntu mirror, apt.pop-os.org/ubuntu
, rather than the Pop!_OS repo, apt.pop-os.org/release
.)
Ideally, Ubuntu needs to update this package in their repository, so the issue will be fixed for both Ubuntu and Pop!_OS users. It seems like they're aware of the issue from the Launchpad bug that you linked, although it hasn't seen activity in a couple of years.
Note that new Cisco servers won't allow a VPN connect unless the user agent string is changed (see here). This is possible with >= 1.2.10. Any help how to backport the new package would be appreciated. (See also this question on askubuntu.com)
I've found a workaround: OpenConnect provides binary packages via the Open Build Service (found here).
If you want to use the NetworkManager and the Gnome integration, it is necessary to update openconnect
and the networkmanager/gnome packages after adding the repository:
sudo apt install openconnect network-manager-openconnect network-manager-openconnect-gnome
Ubuntu provides package version 1.2.10 https://packages.ubuntu.com/noble/network-manager-openconnect-gnome
Distribution (run
cat /etc/os-release
):Related Application and/or Package Version (run
apt policy $PACKAGE NAME
):Issue/Bug Description: Version 1.2.6 is being hit by this bug, causing to drop VPN connection right after it was set up.
It seems the network-manager-openconnect plugin can't istall received routes from vpn gateway, causing the inmediate disconnection.
Steps to reproduce (if you know):
Try any VPN that uses SSO, specially Cisco's AnyConnect or Palo Alto's Global Protect
Expected behavior:
Other Notes:
It was noted in RedHat and Ubuntu bug forums that this issue is resolved on version 1.2.10 or newer https://gitlab.gnome.org/GNOME/NetworkManager-openconnect/-/tags/1.2.10