Closed AmphibianDev closed 6 months ago
Hello, upon checking with cyberghost team, here are their answer:
The WireGuard protocol has been reported as currently not working on our CLI app. This has been reported to our development team for checking. In the meantime, we recommend using the OpenVPN protocol for your use.
I am disappointed with CyberGhost, but I understand that we are a minority. But, I wonder, would it not be better if they open-sourced the code for the Linux CLI at least? Let the community help. At the exact moment, not even the standard OpenVPN doesn't work, showing this but not connecting ...
$ sudo cyberghostvpn --connect
Prepare OpenVPN connection ...
Select server ...
The CyberGhost team claims to report it to development however I've been bugging them for almost 2yrs now. Linux CLI is completely unusable past 1.3.4. This a very old version now. I keep trying to find workarounds that work to keep it usable.
I might suggest disabling the firewall FIREWALL=False. To see if it can connect. The v2 API resolves to the IP 104.20.0.14. Which is allowed in the firewall.
I've just restarted my docker to see if I would experience the same issue. I also can no longer connect with Wireguard or OpenVPN. I will try to find another fix, but probably on CyberGhost side.
After Re authenticating with CyberGhost I can now connect. I deleted the config.ini and restarted the container, I'm running Unraid.
Prepare Wireguard connection ...
Select server ... lasvegas-s411-i30
Connecting ...
VPN connection established.
Blocking PORT 53 - IN/OUT
Starting HTTP Proxy...
squid.service - Squid Web Proxy Server
Loaded: loaded (/usr/lib/systemd/system/squid.service, enabled)
Active: active (running)
***********CyberGhost Connection Info***********
IP: X.X.X.X
CITY: Las Vegas
REGION: Nevada
COUNTRY: US
DNS: 1.1.1.1
************************************************
Prepare Wireguard connection ...
Select server ... bucharest-s408-i03
Connecting ...
VPN connection established.
Blocking PORT 53 - IN/OUT
Starting HTTP Proxy...
squid.service - Squid Web Proxy Server
Loaded: loaded (/usr/lib/systemd/system/squid.service, enabled)
Active: active (running)
***********CyberGhost Connection Info***********
IP: X.X.X.X
CITY: Bucharest
REGION: București
COUNTRY: RO
DNS: 1.1.1.1
************************************************
I found an awesome library which can be used with any VPN provider that has OpenVPN or WireGuard. GitHub Repo: https://github.com/qdm12/gluetun
Here is how to use it with CyberGhost: 1) Follow those instructions from here, only for Step 1, and download the configuration files. 2) Make a project like in the image below.
Glad to see you found something that works for you. Glutun will only do openvpn for cyberghost not wireguard. As cyberghost does not allow you to download wireguard configuration files.
You should change the description of that new image @tmcphee . It's no longer a wireguard client then :)
@AmphibianDev thank you for sharing ! I might go this route too since it allows a lot of flexibility and is built on Alpine
Thanks for noticing that @MarcBresson. I updated the OpenVPN docker repository to reflect that. I had many plans for this docker. Since CyberGhost no longer supports their product, there is no point in developing further. I will probably switch to Private internet access after my subscription ends.
I totally agree with you. That's a bummer than they don't (won't) fix it. That's funny because I also came across PIA today since it seemed to be particularly well integrated into gluetun. And it seems cheap.
Anyway, thank you very much for your work! Except for cyber ghost being cyber ghost, it was a great work
Describe the issue
docker-compose.yml
System info: OS: Windows 11, 23H2, build: 22631.2861 WSL2, Ubuntu-22.04 Docker Desktop 4.26.1 (131620)
Log / Screenshots
Troubleshooting
I tried:
config.ini
, then the entire configdocker compose up
in PowerShell with administrator privilegeNAMSERVER=1.1.1.1
FIREWALL=False
PROTOCOL=openvpn
Using all of the above =>