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.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
7.52k stars 355 forks source link

Bug: How is servers.json created? #2164

Closed ezekieldas closed 6 months ago

ezekieldas commented 6 months ago

Is this urgent?

No

Host OS

Ubuntu

CPU arch

x86_64

VPN service provider

Mullvad

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-03-07T12:32:25.391Z (commit 3254fc8)

What's the problem 🤔

I brought this up in Discussions last year (see below) but haven't heard anything on it. Now I'm working with Mullvad and find the same issue: no Mexico servers in servers.json. While I understand how my container's servers.json is updated, how is this updated? https://github.com/qdm12/gluetun/tree/master/internal/storage Is there a reason why not all servers are being included?

https://github.com/qdm12/gluetun/discussions/1918

Share your logs (at least 10 lines)

No logs associated

Share your configuration

Limited to: 

SERVER_COUNTRIES="Canada,USA"

Would like to see:

SERVER_COUNTRIES="Mexico,Canada,USA"
qdm12 commented 6 months ago

Mullvad servers are downloaded using this code: https://github.com/qdm12/gluetun/blob/62158a17399ddbae68ad2e90ec11c8cf12439c1f/internal/provider/mullvad/updater/servers.go#L12

See also https://github.com/qdm12/gluetun-wiki/blob/main/faq/others.md#server-information (you can update servers yourself)

Then Gluetun merges servers it has "built-in" with servers you have bind mounted in /gluetun/servers.json, and picks the most recent one (by vpn provider timestamp).

github-actions[bot] commented 6 months ago

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.