Dsommers/openvpn3

OpenVPN 3 based client for Linux, built with modern Linux distributions in mind. OpenVPN 3 clients are mostly compatible with OpenVPN 2, but there are some features not yet present - like TAP device support and several other and lesser used features. If your configuration works with the OpenVPN Connect Android and iOS app, it will most likely function quite well as this client uses the same OpenVPN 3 Core Library as OpenVPN Connect.


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/dsommers/openvpn3/
1 Like

Since Rawhide moved to python 11, openvpn3 should be rebuilded with python 11.

# dnf install openvpn3-client
Last metadata expiration check: 0:10:49 ago on Fri 29 Jul 2022 12:45:29 AM +05.
Error: 
 Problem: package openvpn3-client-18-1.beta1.fc37.x86_64 requires openvpn3(x86-64) = 18-1.beta1.fc37, but none of the providers can be installed
  - conflicting requests
  - nothing provides python(abi) = 3.10 needed by openvpn3-18-1.beta1.fc37.x86_64
(try to add '--skip-broken' to skip uninstallable packages)
[root@primary-ws ~]# dnf install openvpn3-client
Last metadata expiration check: 0:15:37 ago on Fri 29 Jul 2022 12:45:29 AM +05.
Error: 
 Problem: package openvpn3-client-18-1.beta1.fc37.x86_64 requires openvpn3(x86-64) = 18-1.beta1.fc37, but none of the providers can be installed
  - conflicting requests
  - nothing provides python(abi) = 3.10 needed by openvpn3-18-1.beta1.fc37.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Sorry, didn’t see this post until now.

I kicked off a new rebuilt the other day for both Fedora 37 and Rawhide. Could you run a new test now and see how that works?

FYI: After upgrade glib2-2.74.1-3.fc38.x86_64 to glib2-2.75.3-1.fc39.x86_64 openvpn3 client beginning crashes: 2169969 – After upgrade glib2-2.74.1-3.fc38.x86_64 to glib2-2.75.3-1.fc39.x86_64 openvpn3 client stop working

@dsommers can you please rebuild package for Fedora 37? Build 4997947 has fc36 and fc38 versions, but no fc37.

@dsommers I used to connect to an specific VPN through openvpn3 in Fedora 37. I’ve just updated to Fedora 38, and when I try to start a saved session, it asks for username and password, as usual, but then it doesn’t connect and the following error message is logged in console:
** Aborted **
** ERROR ** Failed to disconnect tunnel (object does not exist)

I’ve tried to remove and reconfigure the session, but the error persists.

Hi @andreluisp, I’m facing exactly same issue, just a small variable while on F37. Now on F38 I’m getting the same error as you.

Did you manage to figure it out a solution/workaround? If not, please, let me know where you did stop for us to figure it out?

Thank You!
Raul.

Hi @k-r-3-k , unfortunately it’s a bug with the glib2 v2.76 or newer, as it’s described here:

@dsommers is working on a fix for the next openvpn release v21.
One created a hack script to a temporarily fix:

But I haven’t tried yet. Still waiting for the official update from dsommers.

The openvpn3 on Rawhide needs rebuild with newer python.

❯ yum install openvpn3-client
Last metadata expiration check: 0:01:38 ago on Thu 21 Sep 2023 06:07:25 PM +05.
Error: 
 Problem: package openvpn3-client-20-2.fc39.x86_64 from copr:copr.fedorainfracloud.org:dsommers:openvpn3 requires openvpn3(x86-64) = 20-2.fc39, but none of the providers can be installed
  - conflicting requests
  - nothing provides python(abi) = 3.11 needed by openvpn3-20-2.fc39.x86_64 from copr:copr.fedorainfracloud.org:dsommers:openvpn3
(try to add '--skip-broken' to skip uninstallable packages)

❯ python --version
Python 3.12.0rc3

Facing the same issue:

shakeel@fedora:~1$ sudo yum install openvpn3-client
Last metadata expiration check: 0:00:28 ago on Fri 29 Sep 2023 03:11:08 PM PKT.
Error:
Problem: package openvpn3-client-20-2.fc39.x86_64 from copr:copr.fedorainfracloud.org:dsommers:openvpn3 requires openvpn3(x86-64) = 20-2.fc39, but none of the providers can be installed

  • conflicting requests
  • nothing provides python(abi) = 3.11 needed by openvpn3-20-2.fc39.x86_64 from copr:copr.fedorainfracloud.org:dsommers:openvpn3
    (try to add β€˜β€“skip-broken’ to skip uninstallable packages)

shakeel@fedora:~1$ python --version
Python 3.12.0rc3

Hello, @dsommers!
Do you plan to build openvpn3-client for the Fedora 39 x86_64 arch?

I’ve seen other arch builds already present:

aarch64 (9), ppc64le (4), s390x (9)

For now it is prevent me from upgrading to Fedora 39 because I’ve use openvpn in work:

# dnf system-upgrade download --releasever=39
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
...
Copr repo for openvpn3 owned by dsommers                                                                                                                                                                   162  B/s | 341  B     00:02    
Errors during downloading metadata for repository 'copr:copr.fedorainfracloud.org:dsommers:openvpn3':
  - Status code: 404 for https://download.copr.fedorainfracloud.org/results/dsommers/openvpn3/fedora-39-x86_64/repodata/repomd.xml (IP: 52.85.49.102)
Error: Failed to download metadata for repo 'copr:copr.fedorainfracloud.org:dsommers:openvpn3': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
...
Error: 
 Problem 1: package openvpn3-20-2.fc38.x86_64 from @System requires python(abi) = 3.11, but none of the providers can be installed
  - python3-3.11.6-1.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - problem with installed package openvpn3-20-2.fc38.x86_64
 Problem 2: package openvpn3-20-2.fc38.x86_64 from @System requires python(abi) = 3.11, but none of the providers can be installed
  - package python3-3.11.6-1.fc38.x86_64 from @System requires python3-libs(x86-64) = 3.11.6-1.fc38, but none of the providers can be installed
  - package openvpn3-client-20-2.fc38.x86_64 from @System requires openvpn3(x86-64) = 20-2.fc38, but none of the providers can be installed
  - python3-libs-3.11.6-1.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - problem with installed package openvpn3-client-20-2.fc38.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

2 Likes

The Fedora 39 x86_64 packages have been apparently (wrongly) stored in the F40 directory:

https://download.copr.fedorainfracloud.org/results/dsommers/openvpn3/fedora-40-x86_64/05835909-openvpn3/

Besides, they probably would have to be rebuilt for python 3.12