distronews.com stable7.2.15 mainline7.4-rc1
Fedora Magazine

Migrating away from unmaintained NetworkManager VPN plugins (vpnc and fortisslvpn)

fedoramagazine.org

Image from the original story at fedoramagazine.org.

Key points

Fedora is retiring the unmaintained NetworkManager VPN plugins NetworkManager-vpnc and NetworkManager-fortisslvpn. Starting with Fedora Linux 45 they become obsolete. Fedora Magazine explains how to move existing connections to NetworkManager-openconnect or NetworkManager-libreswan.

Why they are being retired

  • Neither plugin has an active upstream maintainer.
  • Published issues allow local privilege escalation through malicious VPN profiles, and older VPN helper scripts have legacy privilege-handling bugs.
  • FESCo and the NetworkManager maintainers agreed to drop both plugins in favour of alternatives already in the Fedora repositories.

What happens on each release

  • Fedora 43 and 44: installed plugins stay in place, so existing connections keep working. Neither plugin will receive any further feature or security updates.
  • Fedora 45 and later: NetworkManager obsoletes both packages. Upgrading to Fedora 45 removes NetworkManager-vpnc and NetworkManager-fortisslvpn automatically if they are installed.
  • Users of either VPN type are urged to test and migrate their profiles as soon as possible.

Fortinet SSL VPN users (fortisslvpn → openconnect)

  • Install NetworkManager-openconnect.
  • In GNOME Settings → Network, or KDE System Settings → Connections, add a new connection of type "Multi-protocol VPN client (openconnect)".
  • Choose "Fortinet SSL VPN" as the protocol, then enter the gateway address and login details and save.
  • Once the new profile works, uninstall NetworkManager-fortisslvpn.

Cisco IPsec / IKEv1 users (vpnc → libreswan)

  • Install NetworkManager-libreswan.
  • IKEv1 is deprecated, and you may need to enable it by creating /etc/ipsec.d/ikev1.conf with the lines config setup and ikev1-policy=accept, then restarting ipsec.service.
  • ipsec.service has to be running, otherwise the connection will fail to activate.
  • In the desktop network settings, add an "IPsec based VPN" connection and set Type=IKEv1.
  • Copy the gateway IP or domain, group password (pre-shared key) and user credentials from the old vpnc setup. The group name must be written in square brackets, for example [group].
  • IKE/ESP proposals, DH/PFS settings and routing may need adjusting. The values can be found in the gateway's configuration and in old vpnc logs.
  • Once the connection tests successfully, uninstall NetworkManager-vpnc.

Commands

sudo dnf install NetworkManager-openconnect
sudo dnf remove NetworkManager-fortisslvpn
sudo dnf install NetworkManager-libreswan
sudo dnf remove NetworkManager-vpnc

Summary by DistroNews, based on the original post.

Two legacy NetworkManager VPN plugins—NetworkManager-vpnc and NetworkManager-fortisslvpn—are retiring and will be obsolete, starting in Fedora Linux 45. This is part of ongoing system maintenance and security cleanup.

If you use Virtual Private Networks (VPNs) to connect to remote workplace or enterprise networks, take note of this upcoming change in NetworkManager package availability.

This article contains information about what you need to know. It covers why these plugins are being retired, how this affects your current setup, and how to migrate your VPN connections to actively supported alternatives.

Why retire these plugins?

Both NetworkManager-vpnc and NetworkManager-fortisslvpn are unmaintained.  Furthermore, the published issues allow LPE through malicious VPN profiles as well as legacy privilege-handling bugs in older VPN helper scripts, which pose security risks to local systems. Further information is available in this blog post.

To ensure Fedora Linux users remain secure and backed by active upstream maintainers, the Fedora Engineering and Steering Committee (FESCo) and NetworkManager maintainers agreed to retire these unmaintained plugins in favor of modern, secure alternatives already available in Fedora repositories.

Overview of changes and migration paths

Step-by-Step Migration Guide

1. Fortinet SSLVPN Users (fortisslvpn → openconnect)

If you currently rely on Fortinet SSLVPN tunnels, switch to the NetworkManager-openconnect plugin.

  1. Install the OpenConnect NetworkManager plugin:
    Bash
    sudo dnf install NetworkManager-openconnect
  2. Open Settings → Network (or KDE System Settings → Connections).
  3. Click + to add a new connection and select Multi-protocol VPN client (openconnect).
  4. Set the protocol dropdown to Fortinet SSL VPN, input your gateway address and authentication details, and save the profile.
  5. Once verified, remove the legacy package:
    Bash
    sudo dnf remove NetworkManager-fortisslvpn

2. Cisco IPsec / IKEv1 Users (vpnc → libreswan)

If you use legacy Cisco IPsec VPN tunnels, migrate your connections to NetworkManager-libreswan.

  1. Install the Libreswan NetworkManager plugin:
    Bash
    sudo dnf install NetworkManager-libreswan
  2. You may need to create file /etc/ipsec.d/ikev1.conf with this content:
    config setup
    ikev1-policy=accept
    This enables the deprecated IKEv1 protocol. Then restart ipsec.service. Note that the ipsec.service must be running, or the activation will fail.
  3. In your desktop network settings, add a new IPsec based VPN connection and select Type=IKEv1.
  4. Enter your gateway IP/domain, the group name enclosed in square brackets (e.g ‘[group]’), group password (pre-shared key), and user credentials corresponding to your previous vpnc configuration. You might have to tune IKE/ESP proposals, DH/PFS settings and routing requirements, which can be obtained from the gateway’s configuration and old vpnc logs.
  5. Test the connection, then remove the legacy package:
    Bash
    sudo dnf remove NetworkManager-vpnc

What happens during upgrades?

  • Fedora 43 & 44: Current installations retain their installed plugins so active connections will not abruptly break. However, there will be no further feature or security updates issued for vpnc or fortisslvpn.
  • Fedora 45+: The legacy packages are officially obsoleted by NetworkManager. An upgrade to Fedora 45 automatically removes NetworkManager-vpnc and NetworkManager-fortisslvpn, if they are installed.

We strongly encourage all users relying on these VPN types to test and migrate their connection profiles to openconnect or libreswan as soon as possible!

By Beniamino Galvani, from Fedora Magazine, reproduced under CC BY-SA 4.0. Formatting is simplified and images in the text are omitted.

Read the original at fedoramagazine.org