qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.

Home Page:https://hub.docker.com/r/qmcgaw/gluetun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: VPNSecure - encrypted key: illegal base64 data at input byte 26

sightastic opened this issue Β· comments

Is this urgent?

No

Host OS

DSM 7.2.1-69057 Update 4 (Docker)

CPU arch

x86_64

VPN service provider

Cyberghost

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-05-18T18:08:57.405Z (commit 4218dba)

What's the problem πŸ€”

Gluetun shuts down after giving me the error shown in the logs and the title. The key and cert are working. I tested it on Ubuntu.

Share your logs (at least 10 lines)

Running version latest built on 2024-05-18T18:08:57.405Z (commit 4218dba)

πŸ”§ Need help? https://github.com/qdm12/gluetun/discussions/new
πŸ› Bug? https://github.com/qdm12/gluetun/issues/new
✨ New feature? https://github.com/qdm12/gluetun/issues/new
β˜• Discussion? https://github.com/qdm12/gluetun/discussions/new
πŸ’» Email? quentin.mcgaw@gmail.com
πŸ’° Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2024-05-31T13:15:02Z INFO [routing] default route found: interface eth0, gateway 172.18.0.1, assigned IP 172.18.0.2 and family v4
2024-05-31T13:15:02Z INFO [routing] local ethernet link found: eth0
2024-05-31T13:15:02Z INFO [routing] local ipnet found: 172.18.0.0/16
2024-05-31T13:15:02Z INFO [firewall] enabling...
2024-05-31T13:15:02Z INFO [firewall] enabled successfully
2024-05-31T13:15:02Z INFO [storage] merging by most recent 19425 hardcoded servers and 19425 servers read from /gluetun/servers.json
2024-05-31T13:15:03Z ERROR VPN settings: OpenVPN settings: client certificate: illegal base64 data at input byte 26
2024-05-31T13:15:03Z INFO Shutdown successful

Share your configuration

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - /volume2/docker/gluetun:/etc/openvpn/custom
    environment:
      - VPN_SERVICE_PROVIDER=cyberghost
      - OPENVPN_CONFIG=/etc/openvpn/custom/openvpn.ovpn
      - OPENVPN_USER=myid
      - OPENVPN_KEY=/etc/openvpn/custom/client.key
      - OPENVPN_CERT=/etc/openvpn/custom/client.crt
      - OPENVPN_PASSWORD=mypass
      - TZ=Etc/UTC
      - UPDATER_PERIOD=24h
    restart: always

@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:

Closed issues are NOT monitored, so commenting here is likely to be not seen.
If you think this is still unresolved and have more information to bring, please create another issue.

This is an automated comment setup because @qdm12 is the sole maintainer of this project
which became too popular to monitor issues closed.