OpenVPN / openvpn3-linux

OpenVPN 3 Linux client
GNU Affero General Public License v3.0
550 stars 146 forks source link

Support for ubuntu 24.04 #253

Closed ederfmatos-exacta closed 2 months ago

ederfmatos-exacta commented 4 months ago

Is there any provision for support for version 24.04 of Ubuntu (noble)?

pushkargogte commented 4 months ago

you can install openvpn3 from this ppa: https://launchpad.net/~djpig/+archive/ubuntu/openvpn

dsommers commented 4 months ago

Sorry for the late reply. TL;DR: Use the PPA repo mentioned above.

I'm working on a huge required refactoring for newer Linux distributions shipping with glib2 2.76 and newer. This library version is basically incompatible with OpenVPN 3 Linux v21 and older. The refactored work is provided via the PPA repo mentioned.

For more details and reporting feedback and related issues can be done in #171. I want to keep this ticket open, as this question will most likely come more frequently. This ticket should be closed when #171 is fully resolved and closed.

apallares19-sys commented 3 months ago

is it possible this is not working well? https://launchpad.net/~djpig/+archive/ubuntu/openvpn I was able to install openvpn3 running ubuntu 24.04 but I couldn't connect to the VPN. I'm trying to connect to the OpenVPN cloudconexa. it's supposed to open the browser to ingress my credentials and finish the authentication. this last part never took place. can someone confirm if it's facing the same issue? here are the logs:

openvpn3 log log-level 6 --config /home/alejandro/Downloads/ubnt_latest.ovpn Waiting for session to start ... Done Attaching to session /net/openvpn/v3/sessions/72fe4b4as9727s477dsb519s7402caf1aebb 2024-05-15 16:28:44 [STATUS] Connection, Configuration OK: config_path=/net/openvpn/v3/configuration/a6e253d1x7962x4938xa024xce29c0860e1b 2024-05-15 16:28:44 Client INFO: Starting connection 2024-05-15 16:28:44 [STATUS] Connection, Client connecting 2024-05-15 16:28:44 Client INFO: Connecting 2024-05-15 16:28:44 [STATUS] Connection, Client connecting 2024-05-15 16:28:44 [STATUS] Connection, Client authentication failed: Authentication failed 2024-05-15 16:28:44 Client INFO: Stopping connection 2024-05-15 16:28:44 [STATUS] Connection, Client disconnecting 2024-05-15 16:28:44 [STATUS] Connection, Client process exited Session closed

idrum4316 commented 3 months ago

@apallares19-sys I had the same problem with my company's CloudConnexa VPN. I couldn't find a fix, so I reverted to Ubuntu 22.04 for now. Sorry I don't have a solution, but I can at least confirm it's not just you.

diman82 commented 3 months ago

I'm getting the following error on 24.04: session-start: ** ERROR ** User authentication failed Usually, at authentication phase, a new browser window should open, and I can authenticate to my corporate account, but that simply doesn't happen for some odd reason. I'm on the latest dev package:

The following NEW packages will be installed:
  openvpn3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,028 kB of archives.
After this operation, 7,979 kB of additional disk space will be used.
Get:1 https://ppa.launchpadcontent.net/djpig/openvpn/ubuntu noble/main amd64 openvpn3 amd64 21+gdbuspp240516-3+noble [2,028 kB]
Fetched 2,028 kB in 3s (738 kB/s)     
Selecting previously unselected package openvpn3.
(Reading database ... 251485 files and directories currently installed.)
Preparing to unpack .../openvpn3_21+gdbuspp240516-3+noble_amd64.deb ...
Unpacking openvpn3 (21+gdbuspp240516-3+noble) ...
Setting up openvpn3 (21+gdbuspp240516-3+noble) ...
Processing triggers for dbus (1.14.10-4ubuntu4) ...
Processing triggers for man-db (2.12.0-4build2) ...
dimam@dimam-ThinkStation-P350:~/Downloads$ 
dimam@dimam-ThinkStation-P350:~/Downloads$ 
dimam@dimam-ThinkStation-P350:~/Downloads$ openvpn3 session-start --config desktop_pc_nesher_dimam@seekingalpha_com@seekingalpha.openvpn.com_[Tel_Aviv].ovpn
Using configuration profile from file: desktop_pc_nesher_dimam@seekingalpha_com@seekingalpha.openvpn.com_[Tel_Aviv].ovpn
Session path: /net/openvpn/v3/sessions/136a0d1dsd758s4786sbb71s8e959560dc36
session-start: ** ERROR ** User authentication failed

Any ideas?

dsommers commented 3 months ago

@diman82 sorry! I snapped to quickly ... you are running the GDBus++ migrated build

I'm just about to wrap up a builds for QA which will be the final v22_dev release .... One that's done, I'll see if I can provide some earlier snapshot builds for you to test. There's been several enhancements since the last PPA builds.

diman82 commented 2 months ago

@dsommers Please tag me when you have the early snapshots for testing.

dsommers commented 2 months ago

QA is going through the final tests. I expect QA's report by end of this week - unless something really severe is found last minute. Then the release machinery will be kicked off which leads to a final tests of the release builds before it's made available for the public.

Since the v22_dev release is a massive refactoring of core components of the OpenVPN 3 Linux code, we do some extended testing to ensure we have caught as many possible issues as possible and don't on important aspects regress from prior releases. So far it's looking quite promising, but it's needed to allow QA to complete.

The PPA mentioned higher up carries the last available development snapshot, but there has been applied bug fixes since that build. We don't plan on any further snapshots until the release point.

h-hollies commented 2 months ago

do you have an estimated release date for the 24.04 compatible version? i have been eagerly waiting for this since i upgraded to noble numbat :)

dsommers commented 2 months ago

@h-hollies We don't announce an ETA for releases. But the PPA repo mentioned here a few times do have fully functional builds for 24.04. That repo is provided by a colleague, so it can be considered an official development snapshot repo.

dsommers commented 2 months ago

See this comment for details on the upcoming release. The v22_dev release is on the way out now.

dsommers commented 2 months ago

OpenVPN 3 Linux v22_dev has been released. Please see the installation instructions for Ubuntu. The v22_dev release targets only Ubuntu 24.04 and Fedora 39 and newer.