Replies: 2 comments
-
|
Is The gluetun wiki currently documents |
Beta Was this translation helpful? Give feedback.
-
|
I've stumbled on a similar problem recently on gluetun v3.41.1. Trying to force a specific server, when creating a conf file from protonVPN website I've got this 2 situation: If I use the wireguard conf file directly, with this variables, network is OK but I could not use port forward: That is expected, as custom provider don't support port forward. If I try to set the WIREGUARD_ENDPOINT_PORT variable, with the content of protonVPN conf file, gluetun does not start. So right now I'm bounded to use custom wireguard provider with conf file. I would be nice to use proton provider with proton generated configuration. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to configure Gluetun to use ProtonVPN with WireGuard and assign Explicit endpoint to the container. However, every time I try to set a specific server or force a static IP, I encounter the following error:
2025-11-24T20:29:23+01:00 INFO [storage] merging by most recent 19476 hardcoded servers and 19476 servers read from /gluetun/servers.json
2025-11-24T20:29:23+01:00 ERROR VPN settings: provider settings: server selection: Wireguard server selection settings: endpoint IP is not set
2025-11-24T20:29:23+01:00 INFO Shutdown successful
I have tried many approaches, including different Docker image versions, mounting the configuration directory and not mounting it, but nothing works. However letting gluetun dynamicly choose a server does work for me, but this is not preferred.
The following configuration does work, meaning Gluetun can connect, but it does not allow me to use a static endpoint, which is what I need:
version: "3.9"
services:
gluetun:
image: qmcgaw/gluetun:v3.39.0
container_name: gluetun
cap_add:
devices:
volumes:
environment:
VPN_SERVICE_PROVIDER: protonvpn
VPN_TYPE: wireguard
WIREGUARD_PRIVATE_KEY: "*****"
WIREGUARD_ADDRESSES: "10.2.0.2/32"
WIREGUARD_PUBLIC_KEY: "afmlPt2O8Y+u4ykaOpMoO6q1JkbArZsaoFcpNXudXCg="
WIREGUARD_ENDPOINT: "46.29.25.3:51820"
WIREGUARD_ALLOWED_IPS: "0.0.0.0/0,::/0"
VPN_PORT_FORWARDING: "on"
FIREWALL: "on"
TZ: "Europe/Amsterdam"
HTTP_CONTROL_SERVER_ADDRESS: "0.0.0.0:8000"
ports:
restart: unless-stopped
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions