I've also has issues connecting recently, I get "Connecting ... An error occured! The VPN connection failed!" Maybe it has something to do with the openvpn update recently. Not sure whether that's a red-herring or not though.
Search Criteria
Package Details: cyberghostvpn 1.4.1-11
Package Actions
Git Clone URL: | https://aur.archlinux.org/cyberghostvpn.git (read-only, click to copy) |
---|---|
Package Base: | cyberghostvpn |
Description: | CyberGhost VPN |
Upstream URL: | https://www.cyberghostvpn.com |
Licenses: | custom:cyberghostvpn |
Submitter: | safeith |
Maintainer: | moormaster |
Last Packager: | moormaster |
Votes: | 10 |
Popularity: | 0.094127 |
First Submitted: | 2021-02-18 20:46 (UTC) |
Last Updated: | 2024-08-09 19:33 (UTC) |
Dependencies (8)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- openvpn (openvpn-gitAUR, openvpn-mbedtlsAUR)
- resolvconf (systemd-chromiumos-resolvconfAUR, systemd-resolvconf-selinuxAUR, sysupdated-systemd-resolvconf-gitAUR, systemd-resolvconf-fmlAUR, systemd-resolvconf-gitAUR, openresolv, systemd-resolvconf)
- wireguard-tools
- ca-certificates (ca-certificates-utils) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- zip (zip-natspecAUR) (make)
Required by (0)
Sources (4)
barble commented on 2023-02-08 05:48 (UTC)
shuggy999 commented on 2023-02-07 20:36 (UTC) (edited on 2023-02-07 20:39 (UTC) by shuggy999)
Please may someone help?
Whenever I try to connect to a server, it will complain about Root Certificates.
[shuggy@shuggy-pc ~]$ sudo cyberghostvpn --streaming "channel 4" --connect
[sudo] password for shuggy:
Prepare OpenVPN connection ...
Select server ... london-s416-i11
Connecting ...
The "CA" certificate is missing!
Downloading configuration ...
[shuggy@shuggy-pc ~]$
moormaster commented on 2022-11-13 14:05 (UTC) (edited on 2022-11-13 14:06 (UTC) by moormaster)
For everyone who is curious why the sha256sums of a file suddenly differs though the version did not change:
I searched for the original zip file matching to the old sha256 hash (found it here: http://ns360781.ip-91-121-165.eu/downloads/cyberghostvpn-ubuntu-20.04-1.3.4.zip ) and compared the src dirs after running makepkg on the old version 1.4.3-3 and the new one 1.4.3-4:
Result was this:
$ diff -r cyberghostvpn_1.3.4-3/src/ cyberghostvpn_1.3.4-4/src/
diff -r cyberghostvpn_1.3.4-3/src/cyberghostvpn-ubuntu-20.04-1.3.4/install.sh cyberghostvpn_1.3.4-4/src/cyberghostvpn-ubuntu-20.04-1.3.4/install.sh
19,109d18
< # get GLIBC version
< glibcVersion=$(ldd --version | grep -i ldd | awk -F' ' {'print $5'})
<
< # get distribution version
< ubuntuDistroVersion=$(lsb_release -sr)
< distroName=$(lsb_release -a | grep -i "Distributor ID:" | awk -F' ' {'print $3'})
< distroVersion=$(lsb_release -a | grep -i "Release:" | awk -F' ' {'print $2'})
<
< echo "Checking if glibc version is compatible"
<
<
< # check if GLIBC version is compatible
< if [ "$ubuntuDistroVersion" == "16.04" ]; then
<
< if [ "$glibcVersion" == "2.23" ] ; then
<
< echo "The glibc version is compatible, continue..."
<
< else
<
< echo "THe glibc version is incompatible, exiting setup..."
< exit
<
< fi
<
< elif [ "$ubuntuDistroVersion" == "18.04" ] || [ "$distroName" == "LinuxMint" ]; then
<
< if [ "$glibcVersion" == "2.27" ]; then
<
< echo "The glibc version is compatible, continue..."
<
< else
<
< echo "The glibc version is incompatible, exiting setup..."
< exit
<
< fi
<
< elif [ "$ubuntuDistroVersion" == "19.10" ]; then
<
< if [ "$glibcVersion" == "2.30" ]; then
<
< echo "The glibc version is compatible, continue..."
<
< else
<
< echo "The glibc version is incompatible, exiting setup..."
< exit
< fi
<
< elif [ "$distroName" == "Kali" ] || [ "$ubuntuDistroVersion" == "19.04" ] || [ "$ubuntuDistroVersion" == "20.04" ]; then
<
< if [ "$glibcVersion" == "2.29" ] || [ "$glibcVersion" == "2.31" ] || [ "$glibcVersion" == "2.30" ]; then
<
< echo "The glibc version is compatible, continue..."
<
< else
<
< echo "The glibc version is incompatible, exiting setup..."
< exit
<
< fi
<
< elif [ "$distroName" == "Linuxmint" ] && [ "$distroVersion" == "20" ]; then
<
< if [ "$glibcVersion" == "2.31" ]; then
< echo "The glibc version is compatible, continue..."
< else
< echo "The glibc version is incompatible, exiting setup..."
< exit
< fi
<
< else
<
< echo "Couldn't detect a valid version of your distribution."
< echo "Make sure you have downloaded the correct install package for your distribution"
< echo "Note: We support only the following distributions for Debian based OS:"
< echo ""
< echo "-Ubuntu 16.04 "
< echo "-Ubuntu 18.04 "
< echo "-Ubuntu 19.04 "
< echo "-Ubuntu 19.10 "
< echo "-Ubuntu 20.04 "
< echo "-Linux Mint 19.2 "
< echo "-Linux Mint 20"
< echo "-PopOS 19.10 "
< echo "-Kali 2019/2020 (glibc version should be 2.29/2.30/2.31 in order to work) "
< exit
<
< fi
<
Binary files cyberghostvpn_1.3.4-3/src/cyberghostvpn-ubuntu-20.04-1.3.4.zip and cyberghostvpn_1.3.4-4/src/cyberghostvpn-ubuntu-20.04-1.3.4.zip differ
Alex-Kim commented on 2022-11-10 15:52 (UTC) (edited on 2022-11-13 14:05 (UTC) by Alex-Kim)
==> Validating source files with sha256sums...
cyberghostvpn-ubuntu-20.04-1.3.4.zip ... FAILED
(fixed)
fiehra commented on 2022-02-07 19:49 (UTC) (edited on 2022-02-07 19:49 (UTC) by fiehra)
after reinstall seems to work for me
selecting a server with --countrycode and connecting a number of the list with --connect
jns0l3nt commented on 2021-10-10 15:15 (UTC)
Package works great. Thank you so much for maintaining this service!
inertxenon commented on 2021-05-19 14:25 (UTC)
Just installed and it worked for me. Thank you for creating this, the official company doesn't even provide this.
safeith commented on 2021-04-24 16:59 (UTC)
@superyu1337 I am not a CyberGhost user anymore, and I could not maintain it.
superyu1337 commented on 2021-04-24 10:14 (UTC)
It doesn't seem to be working anymore. Everyime I try to login using --setup it throws an error.
Traceback (most recent call last):
File "cyberghostvpn.py", line 761, in <module>
File "cyberghostvpn.py", line 370, in main
File "cyberghostvpn.py", line 249, in setup
File "cyberghostvpn.py", line 108, in createDevice
File "libs/device.py", line 149, in setDevice
File "libs/device.py", line 79, in create
AttributeError: 'dict' object has no attribute 'json'
[9526] Failed to execute script cyberghostvpn
safeith commented on 2021-04-17 15:59 (UTC)
@wagner, I think you can contact them, maybe they can provide you with another PKG, please in your account try to download the PKG that they provide for Ubuntu and compare its version with this PKG, and let me know if it was different, maybe I can fix this PKG as well
Pinned Comments
moormaster commented on 2024-08-09 22:32 (UTC) (edited on 2024-08-09 22:33 (UTC) by moormaster)
The problems connecting to openvpn are unrelated to the kernel version. They occur if one uses the updated default
/etc/sudoers
content.There has been an update recently: https://gitlab.archlinux.org/archlinux/packaging/packages/sudo/-/commit/4791df5c3deb6355e6a1fe0b40a13ef27ad060b0
that changes
to
Activating the
secure_path
setting will prevent cyberghostvpn from running the /usr/local/cyberghost/openvpn wrapper. This means the original/usr/bin/openvpn
wrapper gets called with the unsupported--ncp-disable
parameter again - and fails.To make cyberghostvpn work again with openvpn
a) either comment out the
Defaults secure_path=...
line in /etc/sudoers againb) or add
/usr/local/cyberghost
to the beginning of that line/etc/sudoers
c) or downgrade openvpn to <2.6 - that makes it support the
--ncp-disable
command line parameter again