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
6.72k stars 331 forks source link

Feature request: Possibility to have currently not available values in the SERVER_* environment variables #2337

Open ioqy opened 4 days ago

ioqy commented 4 days ago

What's the feature 🧐

Allow invalid values in the following environment variables so that it's possible to have a list of preferred values and if a value is not found in the servers.json it is just ignored and another value is used.

Extra information and references

Background to my problem:

On multiple occasions I had the problem with AirVPN that servers where missing from the servers.json file and the gluetun would hang in a restart loop and could not establish a connection even though the server where listed on their websites. In the past the reason for this was that the country only had one server and it was temporarily offline. Today it was a region with multiple servers that was just missing from the servers.json even though it was listed on the website.

github-actions[bot] commented 4 days ago

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