Cyberghost with Gluetun on a Synology NAS #2610
Unanswered
TheSirSpence
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am sorry this is the last thing I want to be doing, This morning I was a Docker virgin and I have gone down a whole rabbit hole that mostly involves banging my head against my desk. I have spent the day trying to google or trial and error a solution for this and I can not work it out.
This is my current Docker Project YAML:
`version: "3"
services:
Container 1 - Gluetun
gluetun:
image: qmcgaw/gluetun:latest
container_name: Gluetun
# line above must be uncommented to allow external containers to connect.
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8080:8080 # qBit User Interface
- 6880:6880 # qBit TCP Port
- 8388:8388/udp # qBit UDP Port
volumes:
- /volume1/docker/Configs/Glutun:/config
environment:
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
- VPN_SERVICE_PROVIDER=cyberghost
- VPN_TYPE=openvpn
# OpenVPN:
- OPENVPN_USER=123
- OPENVPN_PASSWORD=456
- SERVER_COUNTRIES=Switzerland
# Timezone for accurate log times
- TZ=Europe/Berlin
# Server list updater
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
- UPDATER_PERIOD=24h
restart: always
#Container 2 qBittorrent
qbittorrent:
image: linuxserver/qbittorrent:latest
container_name: qBittorrent
network_mode: "service:gluetun"
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Berlin
- WEBUI_PORT=8080
volumes:
- /volume1/docker/Configs/qBittorrentvpn:/config
- /volume1/Video/Downloading:/HTPC
depends_on:
gluetun:
condition: service_healthy
restart: always`
I have placed all files from my Cyberghost (ca.crt, client.crt, client.key, openvpn.ovpn) in to the /docker/Configs/Glutun folder.
I get the following logs whenever I try to create the container:
2024/12/01 21:43:58 | stdout | 2024-12-01T22:43:58+01:00 WARN Shutdown failed: VPN settings: OpenVPN settings: client certificate: missing value 2024/12/01 21:43:58 | stdout | 2024-12-01T22:43:58+01:00 INFO [storage] merging by most recent 20776 hardcoded servers and 20776 servers read from /gluetun/servers.json 2024/12/01 21:43:57 | stdout | 2024-12-01T22:43:57+01:00 WARN Caught OS signal terminated, shutting down 2024/12/01 21:43:57 | stdout | 2024/12/01 21:43:57 | stdout | 2024-12-01T22:43:57+01:00 INFO [firewall] enabled successfully 2024/12/01 21:43:57 | stdout | 2024-12-01T22:43:57+01:00 INFO [firewall] enabling... 2024/12/01 21:43:57 | stdout | 2024-12-01T22:43:57+01:00 INFO [routing] local ipnet found: 172.18.0.0/16 2024/12/01 21:43:57 | stdout | 2024-12-01T22:43:57+01:00 INFO [routing] local ethernet link found: eth0 2024/12/01 21:43:57 | stdout | 2024-12-01T22:43:57+01:00 INFO [routing] default route found: interface eth0, gateway 172.18.0.1, assigned IP 172.18.0.2 and family v4
I should also mention there were several OpenVPN protocols I could choose from on Cyberghost, I have tried them all.
I really do not know what to do here, please help!
Beta Was this translation helpful? Give feedback.
All reactions