OpenVPN / openvpn3-linux

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

Provided script for connector installation failed #241

Closed LouisCassany closed 8 months ago

LouisCassany commented 9 months ago

I'm trying to install a connector on a machine in order to use CloudConnexa. I'm following the official tutorial that provide a script in order to install it.

I'm supposed to install python3-openvpn-connector-setup by using the provided script (for ubuntu 20.04):

#!/bin/bash

# Install dependencies
sudo apt update
sudo apt install curl

# Install the OpenVPN repository key used by the OpenVPN packages
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://packages.openvpn.net/packages-repo.gpg | sudo tee /etc/apt/keyrings/openvpn.asc

# Add the OpenVPN repository
echo "deb [signed-by=/etc/apt/keyrings/openvpn.asc] https://packages.openvpn.net/openvpn3/debian $(lsb_release -c -s) main" | sudo tee /etc/apt/sources.list.d/openvpn-packages.list
sudo apt update

# Install OpenVPN Connector setup tool
sudo apt install python3-openvpn-connector-setup

# Run openvpn-connector-setup to import ovpn profile and connect to VPN.
# You will be asked to provide setup token, You can get it from the
# Linux Connector configuration page in CloudConnexa Portal.
sudo openvpn-connector-setup

First, the script failed when running sudo apt update because the repo can't be trusted. I can bypass it by replacing [signed-by=/etc/apt/keyrings/openvpn.asc] with [trusted=yes] but I then got the following error:

[...]

Ign:20 https://packages.openvpn.net/openvpn3/debian uma/main all DEP-11 Metadata
Ign:21 https://packages.openvpn.net/openvpn3/debian uma/main all c-n-f Metadata
Ign:22 https://packages.openvpn.net/openvpn3/debian uma/main amd64 c-n-f Metadata
Ign:13 https://packages.openvpn.net/openvpn3/debian uma/main all Packages
Err:15 https://packages.openvpn.net/openvpn3/debian uma/main amd64 Packages
  403  Forbidden [IP: [...] ]
Ign:16 https://packages.openvpn.net/openvpn3/debian uma/main i386 Packages
Ign:17 https://packages.openvpn.net/openvpn3/debian uma/main Translation-en
Ign:18 https://packages.openvpn.net/openvpn3/debian uma/main Translation-en_US
Ign:19 https://packages.openvpn.net/openvpn3/debian uma/main amd64 DEP-11 Metadata
Ign:20 https://packages.openvpn.net/openvpn3/debian uma/main all DEP-11 Metadata
Ign:21 https://packages.openvpn.net/openvpn3/debian uma/main all c-n-f Metadata
Ign:22 https://packages.openvpn.net/openvpn3/debian uma/main amd64 c-n-f Metadata
Reading package lists... Done
E: Failed to fetch https://packages.openvpn.net/openvpn3/debian/dists/uma/main/binary-amd64/Packages  403  Forbidden [IP: [...]]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Did anyone managed to install a connector on ubuntu 20.04 with the official script?

dsommers commented 9 months ago

Please open support ticket for this on https://openvpn.net/support

This issue seems to be some infrastructure issues which is better handled that way.