tmcphee / cyberghostvpn

CyberGhost VPN Client
GNU Affero General Public License v3.0
34 stars 16 forks source link

installed on synology and won't work #23

Open Tomiliy opened 5 months ago

Tomiliy commented 5 months ago

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