Giter Club home page Giter Club logo

cyberghostvpn's People

Contributors

tmcphee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cyberghostvpn's Issues

WIREGUARD error: cannot connect to server

Describe the issue

docker-compose.yml

version: "3"
services:
  cyberghostvpn:
    image: tmcphee/cyberghostvpn:v1.2.2
    container_name: cyberghostvpn
    network_mode: "bridge"
    privileged: true
    cap_add:
      - NET_ADMIN
    environment:
      - TZ=America/New_York
      - [email protected]
      - PASS=mypassword
      - COUNTRY=US
      - NAMSERVER=1.1.1.1
    volumes:
      - ./Cyberghost-Config:/home/root/.cyberghost:rw

System info:
OS: Windows 11, 23H2, build: 22631.2861
WSL2, Ubuntu-22.04
Docker Desktop 4.26.1 (131620)

Log / Screenshots

docker compose up  
[+] Running 1/1
 ✔ Container cyberghostvpn  Created                                                                                                                                    0.1s 
Attaching to cyberghostvpn
cyberghostvpn  | CyberGhostVPN - Docker Edition
cyberghostvpn  | ----------------------------------------------------------
cyberghostvpn  |        Created By: Tyler McPhee
cyberghostvpn  |        GitHub: https://github.com/tmcphee/cyberghostvpn
cyberghostvpn  |        DockerHub: https://hub.docker.com/r/tmcphee/cyberghostvpn
cyberghostvpn  |
cyberghostvpn  |        Ubuntu:20.04 | CyberGhost:1.3.4 | v1.2.2
cyberghostvpn  | ----------------------------------------------------------
cyberghostvpn  | **************User Defined Variables**************
cyberghostvpn  |        ACC: [PASSED - NOT SHOWN]
cyberghostvpn  |        PASS: [PASSED - NOT SHOWN]
cyberghostvpn  |        COUNTRY: US
cyberghostvpn  | **************************************************
cyberghostvpn  | net.ipv6.conf.all.disable_ipv6 = 1
cyberghostvpn  | net.ipv6.conf.default.disable_ipv6 = 1
cyberghostvpn  | net.ipv6.conf.lo.disable_ipv6 = 1
cyberghostvpn  | net.ipv6.conf.eth0.disable_ipv6 = 1
cyberghostvpn  | net.ipv4.ip_forward = 1
cyberghostvpn  | Firewall is active and enabled on system startup
cyberghostvpn  | Initiating Firewall First Time Setup...
cyberghostvpn  | Firewall stopped and disabled on system startup
cyberghostvpn  | Firewall is active and enabled on system startup
cyberghostvpn  | Firewall Setup Complete
cyberghostvpn  | Logging into CyberGhost...
cyberghostvpn  | Allowing PORT 53 - IN/OUT
cyberghostvpn  | spawn sudo cyberghostvpn --setup
cyberghostvpn  | Setup account ...
cyberghostvpn  | Enter CyberGhost username and press [ENTER]: [email protected]
cyberghostvpn  | Enter CyberGhost password and press [ENTER]: mypassword
cyberghostvpn  | Perform authentication ...
cyberghostvpn  | Creating a new device ...
cyberghostvpn  | Install completed ...
cyberghostvpn  | Blocking PORT 53 - IN/OUT
cyberghostvpn  | Disabling HTTP proxy...
cyberghostvpn  | Allowing PORT 53 - IN/OUT
cyberghostvpn  | Prepare Wireguard connection ...
cyberghostvpn  | Select server ... washington-s405-i22
cyberghostvpn  | Connecting ...
cyberghostvpn  | WIREGUARD error: cannot connect to server "washington-s405-i22.cg-dialup.net"!
cyberghostvpn  | Blocking PORT 53 - IN/OUT
cyberghostvpn  | ***********CyberGhost Connection Info***********
cyberghostvpn  |        IP:
cyberghostvpn  |        CITY: 
cyberghostvpn  |        REGION:
cyberghostvpn  |        COUNTRY:
cyberghostvpn  |        DNS: 99.83.181.72
cyberghostvpn  | ************************************************
Gracefully stopping... (press Ctrl+C again to force)

Troubleshooting

I tried:

  • to remove only the config.ini, then the entire config
  • to run the docker compose up in PowerShell with administrator privilege
  • to add NAMSERVER=1.1.1.1
  • to add FIREWALL=False
  • to add PROTOCOL=openvpn

Using all of the above =>

docker compose up                                                                                                       
[+] Running 1/1                                                                                                                                                             
 ✔ Container cyberghostvpn  Recreated                                                                                                                                  0.3s 
Attaching to cyberghostvpn
cyberghostvpn  | CyberGhostVPN - Docker Edition
cyberghostvpn  | ----------------------------------------------------------
cyberghostvpn  |        Created By: Tyler McPhee
cyberghostvpn  |        GitHub: https://github.com/tmcphee/cyberghostvpn
cyberghostvpn  |        DockerHub: https://hub.docker.com/r/tmcphee/cyberghostvpn
cyberghostvpn  |
cyberghostvpn  |        Ubuntu:20.04 | CyberGhost:1.3.4 | v1.2.2
cyberghostvpn  | ----------------------------------------------------------
cyberghostvpn  | **************User Defined Variables**************
cyberghostvpn  |        ACC: [PASSED - NOT SHOWN]
cyberghostvpn  |        PASS: [PASSED - NOT SHOWN]
cyberghostvpn  |        COUNTRY: US
cyberghostvpn  |        PROTOCOL: openvpn
cyberghostvpn  | **************************************************
cyberghostvpn  | net.ipv6.conf.all.disable_ipv6 = 1
cyberghostvpn  | net.ipv6.conf.default.disable_ipv6 = 1
cyberghostvpn  | net.ipv6.conf.lo.disable_ipv6 = 1
cyberghostvpn  | net.ipv6.conf.eth0.disable_ipv6 = 1
cyberghostvpn  | net.ipv4.ip_forward = 1
cyberghostvpn  | Firewall stopped and disabled on system startup
cyberghostvpn  | Logging into CyberGhost...
cyberghostvpn  | Allowing PORT 53 - IN/OUT
cyberghostvpn  | spawn sudo cyberghostvpn --setup
cyberghostvpn  | Setup account ...
cyberghostvpn  | Enter CyberGhost username and press [ENTER]: [email protected]
cyberghostvpn  | Enter CyberGhost password and press [ENTER]: mypassword
cyberghostvpn  | Perform authentication ...
cyberghostvpn  | Creating a new device ...
cyberghostvpn  | Install completed ...
cyberghostvpn  | Blocking PORT 53 - IN/OUT
cyberghostvpn  | Disabling HTTP proxy...
cyberghostvpn  | Allowing PORT 53 - IN/OUT
cyberghostvpn  | Prepare OpenVPN connection ...
cyberghostvpn  | Select server ... atlanta-s407-i14
cyberghostvpn  | Connecting ...
cyberghostvpn  | The "CA" certificate is missing!
cyberghostvpn  | Downloading configuration ...
cyberghostvpn  | Blocking PORT 53 - IN/OUT
cyberghostvpn  | ***********CyberGhost Connection Info***********
cyberghostvpn  |        IP: 
cyberghostvpn  |        CITY: 
cyberghostvpn  |        REGION: 
cyberghostvpn  |        COUNTRY: 
cyberghostvpn  |        DNS: 99.83.181.72
cyberghostvpn  | ************************************************
cyberghostvpn  | [E2] VPN Connection Lost - Attempting to reconnect....
cyberghostvpn  | Allowing PORT 53 - IN/OUT
cyberghostvpn  | Traceback (most recent call last):
cyberghostvpn  |   File "urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
cyberghostvpn  |   File "OpenSSL/SSL.py", line 1915, in do_handshake
cyberghostvpn  |   File "OpenSSL/SSL.py", line 1640, in _raise_ssl_error
cyberghostvpn  | OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')
cyberghostvpn  |
cyberghostvpn  | During handling of the above exception, another exception occurred:
cyberghostvpn  |
cyberghostvpn  | Traceback (most recent call last):
cyberghostvpn  |   File "urllib3/connectionpool.py", line 665, in urlopen
cyberghostvpn  |   File "urllib3/connectionpool.py", line 376, in _make_request
cyberghostvpn  |   File "urllib3/connectionpool.py", line 996, in _validate_conn
cyberghostvpn  |   File "urllib3/connection.py", line 352, in connect
cyberghostvpn  |   File "urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
cyberghostvpn  |   File "urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
cyberghostvpn  | ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)
cyberghostvpn  |
cyberghostvpn  | During handling of the above exception, another exception occurred:
cyberghostvpn  |
cyberghostvpn  | Traceback (most recent call last):
cyberghostvpn  |   File "requests/adapters.py", line 439, in send
cyberghostvpn  |   File "urllib3/connectionpool.py", line 719, in urlopen
cyberghostvpn  |   File "urllib3/util/retry.py", line 436, in increment
cyberghostvpn  | urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='v2-api.cyberghostvpn.com', port=443): Max retries exceeded with url: /v2/my/account?fields=(id,userName,location,activeProduct.plan)&language=en (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
cyberghostvpn  |
cyberghostvpn  | During handling of the above exception, another exception occurred:
cyberghostvpn  |
cyberghostvpn  | Traceback (most recent call last):
cyberghostvpn  |   File "cyberghostvpn.py", line 761, in <module>
cyberghostvpn  |   File "cyberghostvpn.py", line 509, in main
cyberghostvpn  |   File "servers/traffic.py", line 13, in __init__
cyberghostvpn  |   File "libs/services.py", line 21, in __init__
cyberghostvpn  |   File "libs/locales.py", line 24, in __init__
cyberghostvpn  |   File "libs/user.py", line 40, in __init__
cyberghostvpn  |   File "libs/user.py", line 90, in setUser
cyberghostvpn  |   File "libs/user.py", line 71, in getUserData
cyberghostvpn  |   File "libs/api.py", line 195, in doGet
cyberghostvpn  |   File "libs/api.py", line 278, in __doRequest
cyberghostvpn  |   File "requests/api.py", line 75, in get
cyberghostvpn  |   File "requests/api.py", line 60, in request
cyberghostvpn  |   File "requests/sessions.py", line 533, in request
cyberghostvpn  |   File "requests/sessions.py", line 646, in send
cyberghostvpn  |   File "requests/adapters.py", line 514, in send
cyberghostvpn  | requests.exceptions.SSLError: HTTPSConnectionPool(host='v2-api.cyberghostvpn.com', port=443): Max retries exceeded with url: /v2/my/account?fields=(id,userName,location,activeProduct.plan)&language=en (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
cyberghostvpn  | [328] Failed to execute script cyberghostvpn
cyberghostvpn  | Blocking PORT 53 - IN/OUT
cyberghostvpn  | ***********CyberGhost Connection Info***********
cyberghostvpn  |        IP: 
cyberghostvpn  |        CITY: 
cyberghostvpn  |        REGION: 
cyberghostvpn  |        COUNTRY: 
cyberghostvpn  |        DNS: 99.83.181.72
cyberghostvpn  | ************************************************
Gracefully stopping... (press Ctrl+C again to force)

Always connects to US

Hey I noticed that the VPN always connects to US. I tried a few countries but it's always US

**************User Defined Vaiables**************
	ACC: [PASSED - NOT SHOWN]
	PASS: [PASSED - NOT SHOWN]
	COUNTRY: CZ
	NETWORK: 172.10.0.0/16
	WHITELISTPORTS: 9091,9696,8989
**************************************************
***********CyberGhost Connection Info***********
	IP: 89.187.177.98
	CITY: New York City
	REGION: New York
	COUNTRY: US
	DNS: 99.83.181.72
************************************************

Any ideas of what could be wrong here?

Great image, alternative start command

Describe the issue

I'm running the docker daemon in a mapped user namespace to avoid exposing real root of the host.
Thus the start command had to be adjusted. The following works for my setup:

  • Part of custom docker network where most of my services live in, to be pingable and routable to
  • Reverse proxy pointing to the whitelisted ports of this container
  • attaching containers to the cyberghostvpn container
docker run \
   -d \
   --restart=always \
   --name='cyberghostvpn' \
   --network=<EXISTING DOCKER NETWORK> \
   --cap-add=NET_ADMIN  \
   --cap-add=MKNOD \
   --dns=<optional local DNS server> \
   -e TZ="Europe/Berlin" \
   -e "ACC"="<USERNAME> \
   -e "PASS"="<PASS>" \
   -e 'COUNTRY'='<COUNTRY>' \
   -e 'NETWORK'='<NETMASK OF THE CUSTOM NETWORK ATTACHED TO, PROBABLY REDUNDANT' \
   -e 'FIREWALL'='False'\
   -e 'PROTOCOL'='wireguard' \
   -e 'WHITELISTPORTS'='8081,8080' \
   -v /dev/net/tun:/dev/net/tun \
   -v '/path/to/folder':'/home/root/.cyberghost:rw' \
   tmcphee/cyberghostvpn

Cyberghostvpn container on NAS Synology

Describe the issue

I try to make this container work on a Synology NAS but without success. Therefore i open this issue in case of anyone has managed to do so :).

Here is my docker compose:

version: '3.3'

services:
  cyberghostvpn:
    container_name: cyberghostvpn
    image: tmcphee/cyberghostvpn:latest
    restart: unless-stopped
    privileged: true
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 9090:9090 #Transmission
      - 3128:3128
    environment:
      - ACC=${MY_ID}
      - PASS=${MY_PASSWORD}
      - NETWORK=192.168.0.0/24
      - WHITELISTPORTS=9090
      - COUNTRY=CH
      - TZ=${MY_TZ}
      - FIREWALL=False
      - PROXY=True
    volumes:
      - /volume2/docker/cyberghostvpn:/home/root/.cyberghost:rw
    network_mode: bridge

Inspirered by https://drfrankenstein.co.uk/2022/09/26/qbittorrent-with-gluetun-vpn-in-docker-on-a-synology-nas/ , i have also opened the ports 53, 1194, 1195 & 51820 (https://www.cyberghostvpn.com/en_US/privacyhub/what-are-vpn-ports/)

Finally, the following command is executed when the NAS is starting (for the TUN device):

insmod /lib/modules/tun.ko

Log / Screenshots

Here are logs of the container:

CyberGhostVPN - Docker Edition
----------------------------------------------------------
	Created By: Tyler McPhee
	GitHub: https://github.com/tmcphee/cyberghostvpn
	DockerHub: https://hub.docker.com/r/tmcphee/cyberghostvpn
	
	Ubuntu:20.04 | CyberGhost:1.3.4 | v1.2.2
----------------------------------------------------------
**************User Defined Variables**************
	ACC: [PASSED - NOT SHOWN]
	PASS: [PASSED - NOT SHOWN]
�
	COUNTRY: CH
	NETWORK: 192.168.0.0/24
	WHITELISTPORTS: 9090
�
	PROXY: True
**************************************************
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv4.ip_forward = 1
Firewall stopped and disabled on system startup
Logging into CyberGhost...
Allowing PORT 53 - IN/OUT
spawn sudo cyberghostvpn --setup
Setup account ...
Enter CyberGhost username and press [ENTER]: XXX (My username)
Enter CyberGhost password and press [ENTER]: XXX (My password)
Perform authentication ...
Creating a new device ...
Install completed ...
Blocking PORT 53 - IN/OUT
Adding network route...
192.168.0.0/24 routed to 172.17.0.1 on eth0
Seting up HTTP proxy on port 3128...
Stopping HTTP Proxy...
squid.service - Squid Web Proxy Server
    Loaded: loaded (/usr/lib/systemd/system/squid.service, disabled)
    Active: inactive (dead)
Allowing PORT 53 - IN/OUT
Prepare Wireguard connection ...
Select server ... zurich-s401-i34
Connecting ... 
WIREGUARD error: cannot connect to server "zurich-s401-i34.cg-dialup.net"!
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 (My public IP)
�
	CITY: Paris
	REGION: Île-de-France
�
	COUNTRY: FR
	DNS: 1.1.1.1
************************************************

Troubleshooting

Many trials ...

Does someone have an idea?

Thanks in advance.

Running in Docker

Describe the issue

Novice here, I am trying to run this in docker compose and so far I was able to make it connect but when I try to console in with portainer I cannot run the status commands. Is there any guidance on running this in docker compose?

Log / Screenshots

Current service config in yml file :

cyberghostvpn:
container_name: cyberghostvpn
image: tmcphee/cyberghostvpn:latest
restart: unless-stopped
user: $PUID:$PGID
networks:
- default
cap_add:
- NET_ADMIN
- MKNOD
environment:
- TZ=$TZ
- ACC=[email protected]
- PASS=xxxx
- COUNTRY=US
- NETWORK=10.10.0.0/16
- NAMESERVER=8.8.8.8
volumes:
- /dev/net/tun:/dev/net/tun
- /$DOCKERDIR/cyberghostvpn:/home/root/.cyberghost:rw

Log :

CyberGhostVPN - Docker Edition

Created By: Tyler McPhee
GitHub: https://github.com/tmcphee/cyberghostvpn
DockerHub: https://hub.docker.com/r/tmcphee/cyberghostvpn

Ubuntu:20.04 | CyberGhost:1.3.4 | v1.2.1

User Defined Variables
ACC: [PASSED - NOT SHOWN]
PASS: [PASSED - NOT SHOWN]

COUNTRY: US
NETWORK: 10.10.0.0/16
NAMESERVER: 8.8.8.8


sysctl: setting key "net.ipv6.conf.all.disable_ipv6", ignoring: Read-only file system
sysctl: setting key "net.ipv6.conf.default.disable_ipv6", ignoring: Read-only file system
sysctl: setting key "net.ipv6.conf.lo.disable_ipv6", ignoring: Read-only file system
sysctl: setting key "net.ipv6.conf.eth0.disable_ipv6", ignoring: Read-only file system
sysctl: setting key "net.ipv4.ip_forward", ignoring: Read-only file system
sudo: you do not exist in the passwd database
Initiating Firewall First Time Setup...
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
Firewall Setup Complete
/start.sh: line 183: .FIREWALL.cg: Permission denied
Verifying Login Auth...
Passed
Adding network route...
RTNETLINK answers: Operation not permitted
10.10.0.0/16 routed to 172.19.0.1 on eth0
Allowing PORT 53 - IN/OUT
sudo: you do not exist in the passwd database
Blocking PORT 53 - IN/OUT
/start.sh: line 95: /etc/resolv.conf: Permission denied
CyberGhost Connection Info
IP: xxxx
CITY: xxxx
REGION: xxx

COUNTRY: xx
DNS: 127.0.0.11
options ndots:0


sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database
sudo: you do not exist in the passwd database

Thank you

Unable to authenticate

I'm getting the following error:

Perform authentication ...
Traceback (most recent call last):
  File "cyberghostvpn.py", line 761, in <module>
  File "cyberghostvpn.py", line 509, in main
  File "servers/traffic.py", line 13, in __init__
  File "libs/services.py", line 21, in __init__
  File "libs/locales.py", line 24, in __init__
  File "libs/user.py", line 37, in __init__
  File "libs/auth.py", line 61, in __init__
  File "libs/auth.py", line 80, in authenticate
  File "libs/api.py", line 212, in doPost
  File "libs/api.py", line 291, in __doRequest
  File "requests/models.py", line 897, in json
  File "simplejson/__init__.py", line 518, in loads
  File "simplejson/decoder.py", line 370, in decode
  File "simplejson/decoder.py", line 400, in raw_decode
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[536] Failed to execute script cyberghostvpn

Can not connect to streaming node

Describe the issue

A clear description of what this issue is.
can not connect to streaming node,

Log / Screenshots

[ Please redact any personal information such as IPs, Emails, and Passwords ]
Place log outputs or screenshots here. So I can see where the issue occurred.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv4.ip_forward = 1
Firewall stopped and disabled on system startup
Verifying Login Auth...
Passed
Allowing PORT 53 - IN/OUT
Prepare Wireguard connection ...
Select server ... seattle-s404-i24
Connecting ...
VPN connection established.
Blocking PORT 53 - IN/OUT
CyberGhost Connection Info
IP:
CITY:
REGION:
COUNTRY:
DNS: 99.83.181.72

User Defined Variables
ACC: [PASSED - NOT SHOWN]
PASS: [PASSED - NOT SHOWN]
COUNTRY: US
ARGS: --streaming 'Netflix US'

Dazn: No
HotStar: No
Disney+: No
Netflix: Originals Only
YouTube Premium: Yes
Amazon Prime Video: Yes (Region: US)
TVBAnywhere+: Yes
iQyi Oversea Region: US

Troubleshooting

Have you tried the troubleshooting steps in the README?
Was any other steps taken to resolve the issue? Please describe

Ignores --city argument when supplied

Describe the issue

The CLI ignores the --city parameter when supplied

Log / Screenshots

Screenshot 2023-12-30 183553

Troubleshooting

  • Attempted OpenVPN only image
  • Attempted barebones execution (only supplied user/pass and --city param)
  • Attempted with/without quotes

VPN connects, but is forced to NYC regardless of COUNTRY variable value

I've been trying to set Cyberghost up on my Unraid NAS and have eventually gotten it "working", however it only connects to NYC despite COUNTRY=RO. I have tested with COUNTRY=DE and obtained the same result -- being forced to NYC with one instance of being switched to a Dallas server. Cyberghost will connect to a server in Bucharest, establish a connection, and then seemingly switch over to NYC.

I have only gotten the container to function via pasting code directly into the terminal; attempting to add the container through DockerHub or adding the container and setting the variables/path manually doesn't seem to work for some reason. I should note that editing the container takes the server offline. No clue how this is happening. Specifically, editing the container will first result in the container icon not registering in the Docker tab, but changes will be applied successfully. Attempting to edit the container a second time will disconnect the NAS from the local network, requiring a manual reboot and container deletion to fix.

I've attached the exact code I pasted into the terminal to run the container as well as the log with sensitive info redacted. I'd appreciate any help you can give since this container seems much better than the Gluetun alternative.

tmcphee_cyberghost_forcedNYC_log.txt
tmcphee_cyberghost_console_install_command.txt

installed on synology and won't work

Hello,
first of all great idea, exactly what I am looking for.
But I have a few problems understanding it.
I have installed the cyberghostvpn docker image on a Synology with the following options:
docker run -d --name='cyberghostvpn'
--net='bridge'
--privileged='true'
-e TZ="Europe/Berlin"
-e 'ACC'='@gmail.com'
-e 'PASS'='mypassword'
-e 'COUNTRY'='DE'
-e 'NETWORK'='192.168.99.0/24'
-e 'WHITELISTPORTS'='9090,8181,3129'
-p 9090:9090
-p 8181:8080 \ <-- because an other image has 8080
-e PROXY='true'
-p 3129:3128 \ <-- because an other image has 3128
-v '/volume1/docker/cybergost/config':'/home/root/.cyberghost:rw' \

if i starte the container, it runs.. that's great :-)
But i don't know or understand how it works.
here is a logfile

Is there something else to do? Please, can you help me?

date stream content
2024/01/28 14:42:54 stdout ************************************************
2024/01/28 14:42:54 stdout DNS:  8.8.8.8
2024/01/28 14:42:54 stdout COUNTRY:
2024/01/28 14:42:54 stdout REGION:
2024/01/28 14:42:54 stdout CITY:
2024/01/28 14:42:54 stdout IP:
2024/01/28 14:42:54 stdout CyberGhost Connection Info
2024/01/28 14:42:54 stdout Blocking PORT 53 - IN/OUT
2024/01/28 14:42:54 stdout [219] Failed to execute script cyberghostvpn
2024/01/28 14:42:54 stdout requests.exceptions.ConnectionError: HTTPSConnectionPool(host='v2-api.cyberghostvpn.com', port=443): Max retries exceeded with url: /v2/my/account/jwt?language=en (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7eff6f18f220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
2024/01/28 14:42:54 stdout File "requests/adapters.py", line 516, in send
2024/01/28 14:42:54 stdout File "requests/sessions.py", line 646, in send
2024/01/28 14:42:54 stdout File "requests/sessions.py", line 533, in request
2024/01/28 14:42:54 stdout File "requests/api.py", line 60, in request
2024/01/28 14:42:54 stdout File "requests/api.py", line 116, in post
2024/01/28 14:42:54 stdout File "libs/api.py", line 278, in __doRequest
2024/01/28 14:42:54 stdout File "libs/api.py", line 212, in doPost
2024/01/28 14:42:54 stdout File "libs/auth.py", line 80, in authenticate
2024/01/28 14:42:54 stdout File "libs/auth.py", line 61, in init
2024/01/28 14:42:54 stdout File "libs/user.py", line 37, in init
2024/01/28 14:42:54 stdout File "libs/locales.py", line 24, in init
2024/01/28 14:42:54 stdout File "libs/services.py", line 21, in init
2024/01/28 14:42:54 stdout File "servers/traffic.py", line 13, in init
2024/01/28 14:42:54 stdout File "cyberghostvpn.py", line 509, in main
2024/01/28 14:42:54 stdout File "cyberghostvpn.py", line 761, in 
2024/01/28 14:42:54 stdout Traceback (most recent call last):
2024/01/28 14:42:54 stdout  
2024/01/28 14:42:54 stdout During handling of the above exception, another exception occurred:
2024/01/28 14:42:54 stdout  
2024/01/28 14:42:54 stdout urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='v2-api.cyberghostvpn.com', port=443): Max retries exceeded with url: /v2/my/account/jwt?language=en (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7eff6f18f220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
2024/01/28 14:42:54 stdout File "urllib3/util/retry.py", line 436, in increment
2024/01/28 14:42:54 stdout File "urllib3/connectionpool.py", line 719, in urlopen
2024/01/28 14:42:54 stdout File "requests/adapters.py", line 439, in send
2024/01/28 14:42:54 stdout Traceback (most recent call last):
2024/01/28 14:42:54 stdout  
2024/01/28 14:42:54 stdout During handling of the above exception, another exception occurred:
2024/01/28 14:42:54 stdout  
2024/01/28 14:42:54 stdout urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7eff6f18f220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
2024/01/28 14:42:54 stdout File "urllib3/connection.py", line 168, in _new_conn
2024/01/28 14:42:54 stdout File "urllib3/connection.py", line 300, in connect
2024/01/28 14:42:54 stdout File "urllib3/connectionpool.py", line 996, in _validate_conn
2024/01/28 14:42:54 stdout File "urllib3/connectionpool.py", line 376, in _make_request
2024/01/28 14:42:54 stdout File "urllib3/connectionpool.py", line 665, in urlopen
2024/01/28 14:42:54 stdout Traceback (most recent call last):
2024/01/28 14:42:54 stdout  
2024/01/28 14:42:54 stdout During handling of the above exception, another exception occurred:
2024/01/28 14:42:54 stdout  
2024/01/28 14:42:54 stdout socket.gaierror: [Errno -3] Temporary failure in name resolution
2024/01/28 14:42:54 stdout File "socket.py", line 918, in getaddrinfo
2024/01/28 14:42:54 stdout File "urllib3/util/connection.py", line 61, in create_connection
2024/01/28 14:42:54 stdout File "urllib3/connection.py", line 156, in _new_conn
2024/01/28 14:42:54 stdout Traceback (most recent call last):
2024/01/28 14:42:54 stdout Perform authentication ...
2024/01/28 14:42:53 stdout Allowing PORT 53 - IN/OUT
2024/01/28 14:42:53 stdout [E2] VPN Connection Lost - Attempting to reconnect....
2024/01/28 14:42:22 stdout ************************************************
2024/01/28 14:42:22 stdout DNS:  8.8.8.8
2024/01/28 14:42:22 stdout COUNTRY:
2024/01/28 14:42:22 stdout REGION:
2024/01/28 14:42:22 stdout CITY:
2024/01/28 14:42:22 stdout IP:
2024/01/28 14:42:22 stdout CyberGhost Connection Info
2024/01/28 14:42:21 stdout Blocking PORT 53 - IN/OUT
2024/01/28 14:42:21 stdout [162] Failed to execute script cyberghostvpn
2024/01/28 14:42:21 stdout requests.exceptions.ConnectionError: HTTPSConnectionPool(host='v2-api.cyberghostvpn.com', port=443): Max retries exceeded with url: /v2/my/account/jwt?language=en (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f201bc99220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
2024/01/28 14:42:21 stdout File "requests/adapters.py", line 516, in send
2024/01/28 14:42:21 stdout File "requests/sessions.py", line 646, in send
2024/01/28 14:42:21 stdout File "requests/sessions.py", line 533, in request
2024/01/28 14:42:21 stdout File "requests/api.py", line 60, in request
2024/01/28 14:42:21 stdout File "requests/api.py", line 116, in post
2024/01/28 14:42:21 stdout File "libs/api.py", line 278, in __doRequest
2024/01/28 14:42:21 stdout File "libs/api.py", line 212, in doPost
2024/01/28 14:42:21 stdout File "libs/auth.py", line 80, in authenticate
2024/01/28 14:42:21 stdout File "libs/auth.py", line 61, in init
2024/01/28 14:42:21 stdout File "libs/user.py", line 37, in init
2024/01/28 14:42:21 stdout File "libs/locales.py", line 24, in init
2024/01/28 14:42:21 stdout File "libs/services.py", line 21, in init
2024/01/28 14:42:21 stdout File "servers/traffic.py", line 13, in init
2024/01/28 14:42:21 stdout File "cyberghostvpn.py", line 509, in main
2024/01/28 14:42:21 stdout File "cyberghostvpn.py", line 761, in 
2024/01/28 14:42:21 stdout Traceback (most recent call last):
2024/01/28 14:42:21 stdout  
2024/01/28 14:42:21 stdout During handling of the above exception, another exception occurred:
2024/01/28 14:42:21 stdout  
2024/01/28 14:42:21 stdout urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='v2-api.cyberghostvpn.com', port=443): Max retries exceeded with url: /v2/my/account/jwt?language=en (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f201bc99220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
2024/01/28 14:42:21 stdout File "urllib3/util/retry.py", line 436, in increment
2024/01/28 14:42:21 stdout File "urllib3/connectionpool.py", line 719, in urlopen
2024/01/28 14:42:21 stdout File "requests/adapters.py", line 439, in send
2024/01/28 14:42:21 stdout Traceback (most recent call last):
2024/01/28 14:42:21 stdout  
2024/01/28 14:42:21 stdout During handling of the above exception, another exception occurred:
2024/01/28 14:42:21 stdout  
2024/01/28 14:42:21 stdout urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f201bc99220>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
2024/01/28 14:42:21 stdout File "urllib3/connection.py", line 168, in _new_conn
2024/01/28 14:42:21 stdout File "urllib3/connection.py", line 300, in connect
2024/01/28 14:42:21 stdout File "urllib3/connectionpool.py", line 996, in _validate_conn
2024/01/28 14:42:21 stdout File "urllib3/connectionpool.py", line 376, in _make_request
2024/01/28 14:42:21 stdout File "urllib3/connectionpool.py", line 665, in urlopen
2024/01/28 14:42:21 stdout Traceback (most recent call last):
2024/01/28 14:42:21 stdout  
2024/01/28 14:42:21 stdout During handling of the above exception, another exception occurred:
2024/01/28 14:42:21 stdout  
2024/01/28 14:42:21 stdout socket.gaierror: [Errno -3] Temporary failure in name resolution
2024/01/28 14:42:21 stdout File "socket.py", line 918, in getaddrinfo
2024/01/28 14:42:21 stdout File "urllib3/util/connection.py", line 61, in create_connection
2024/01/28 14:42:21 stdout File "urllib3/connection.py", line 156, in _new_conn
2024/01/28 14:42:21 stdout Traceback (most recent call last):
2024/01/28 14:42:21 stdout Perform authentication ...
2024/01/28 14:42:21 stdout Allowing PORT 53 - IN/OUT
2024/01/28 14:42:20 stdout Disabling HTTP proxy...
2024/01/28 14:42:20 stdout 192.168.99.0/24 routed to 172.17.0.1 on eth0
2024/01/28 14:42:20 stdout Adding network route...
2024/01/28 14:42:20 stdout Passed
2024/01/28 14:42:20 stdout Verifying Login Auth...
2024/01/28 14:42:20 stdout  
2024/01/28 14:42:20 stdout Problem running '/etc/ufw/user.rules'
2024/01/28 14:42:20 stdout  
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv4.conf.default.log_martians", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv4.conf.all.log_martians", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv4.icmp_echo_ignore_all", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv4.icmp_ignore_bogus_error_responses", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv4.icmp_echo_ignore_broadcasts", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv6.conf.default.accept_redirects", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv6.conf.all.accept_redirects", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv4.conf.default.accept_redirects", ignoring: Read-only file system
2024/01/28 14:42:20 stdout sysctl: setting key "net.ipv4.conf.all.accept_redirects", ignoring: Read-only file system
2024/01/28 14:42:20 stdout Try `iptables-restore -h' or 'iptables-restore --help' for more information.
2024/01/28 14:42:20 stdout Error occurred at line: 69
2024/01/28 14:42:20 stdout  
2024/01/28 14:42:20 stdout iptables-restore v1.8.4 (legacy): Couldn't load target `REJECT':No such file or directory
2024/01/28 14:42:20 stdout ERROR: problem running ufw-init
2024/01/28 14:42:18 stdout sysctl: setting key "net.ipv4.ip_forward", ignoring: Read-only file system
2024/01/28 14:42:18 stdout sysctl: setting key "net.ipv6.conf.eth0.disable_ipv6", ignoring: Read-only file system
2024/01/28 14:42:18 stdout sysctl: setting key "net.ipv6.conf.lo.disable_ipv6", ignoring: Read-only file system
2024/01/28 14:42:18 stdout sysctl: setting key "net.ipv6.conf.default.disable_ipv6", ignoring: Read-only file system
2024/01/28 14:42:18 stdout sysctl: setting key "net.ipv6.conf.all.disable_ipv6", ignoring: Read-only file system
2024/01/28 14:42:18 stdout **************************************************
2024/01/28 14:42:18 stdout PROXY: true
2024/01/28 14:42:18 stdout NAMESERVER: 8.8.8.8
2024/01/28 14:42:18 stdout WHITELISTPORTS: 9090,8181,3129,8080,3128
2024/01/28 14:42:18 stdout NETWORK: 192.168.99.0/24
2024/01/28 14:42:18 stdout COUNTRY: DE
2024/01/28 14:42:18 stdout PASS: [PASSED - NOT SHOWN]
2024/01/28 14:42:18 stdout ACC: [PASSED - NOT SHOWN]
2024/01/28 14:42:18 stdout User Defined Variables
2024/01/28 14:42:18 stdout ----------------------------------------------------------
2024/01/28 14:42:18 stdout Ubuntu:20.04 | CyberGhost:1.3.4 | v1.2.2
2024/01/28 14:42:18 stdout  
2024/01/28 14:42:18 stdout DockerHub: https://hub.docker.com/r/tmcphee/cyberghostvpn
2024/01/28 14:42:18 stdout GitHub: https://github.com/tmcphee/cyberghostvpn
2024/01/28 14:42:18 stdout Created By: Tyler McPhee
2024/01/28 14:42:18 stdout ----------------------------------------------------------
2024/01/28 14:42:18 stdout CyberGhostVPN - Docker Edition

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.