You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running version v3.38.0 built on 2024-03-25T15:53:33.983Z (commit b3ceece)
What's the problem 🤔
When I bind /gluetun/wireguard/wg0.conf to a Wireguard configuration file through docker-compose, the Presharedkey value seems to get ignored. This does not happen when the Wireguard configuration is passed through environment variables.
I have tested the Wireguard configuration file in question outside of Gluetun and verified that it works, so it doesn't seem like the config file is the problem.
There's also a "Target IP address" value that appears when I pass in the settings through the environment but I don't know what that relates to — I don't know Wireguard internals very well.
Share your logs (at least 10 lines)
When the volumes key in docker-compose.yaml has ./wg.conf:/gluetun/wireguard/wg0.conf:
Hi there, thanks for the detailed issue! Presharedkey should be PresharedKey that's why 😉
Although this is a silly limitation, so I changed it to read fields with case insentivity in fe05521 (latest image). Thanks!
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.
Is this urgent?
No
Host OS
Ubuntu 22.04.4 LTS
CPU arch
x86_64
VPN service provider
Custom
What are you using to run the container
docker-compose
What is the version of Gluetun
Running version v3.38.0 built on 2024-03-25T15:53:33.983Z (commit b3ceece)
What's the problem 🤔
When I bind
/gluetun/wireguard/wg0.conf
to a Wireguard configuration file through docker-compose, thePresharedkey
value seems to get ignored. This does not happen when the Wireguard configuration is passed through environment variables.I have tested the Wireguard configuration file in question outside of Gluetun and verified that it works, so it doesn't seem like the config file is the problem.
There's also a "Target IP address" value that appears when I pass in the settings through the environment but I don't know what that relates to — I don't know Wireguard internals very well.
Share your logs (at least 10 lines)
When the
volumes
key indocker-compose.yaml
has./wg.conf:/gluetun/wireguard/wg0.conf
:When the above file is not mounted but instead the configuration is given through
docker-compose.yaml
'senvironment
key (WIREGUARD_PUBLIC_KEY
etc):Share your configuration
The text was updated successfully, but these errors were encountered: