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: PASSWORD variable required for non-password VPN's #175

Closed jnsn closed 4 years ago

jnsn commented 4 years ago

TLDR: Startup fails for Mullvad because a PASSWORD is required, but Mullvad doesn't have one

  1. Is this urgent?

    • [x] Yes
    • [ ] No
  2. What VPN service provider are you using?

    • [ ] PIA
    • [x] Mullvad
    • [ ] Windscribe
    • [ ] Surfshark
    • [ ] Cyberghost
  3. What's the version of the program?

    See the line at the top of your logs

    2020-06-18T19:49:59.937+0200 ERROR no value found for environment variable "PASSWORD"

  4. What are you using to run the container?

    • [ ] Docker run
    • [x] Docker Compose
    • [ ] Kubernetes
    • [ ] Docker stack
    • [ ] Docker swarm
    • [ ] Podman
    • [ ] Other:
  5. Extra information

Setting a dummy password value allows the container to start.

Logs:

2020-06-18T19:49:59.908+0200    INFO    Unbound version: 1.9.6
2020-06-18T19:49:59.909+0200    INFO    IPtables version: v1.8.3
2020-06-18T19:49:59.932+0200    INFO    TinyProxy version: 1.10.0
2020-06-18T19:49:59.934+0200    INFO    ShadowSocks version: 3.3.4
2020-06-18T19:49:59.936+0200    INFO    OpenVPN version: 2.4.8
2020-06-18T19:49:59.937+0200    ERROR   no value found for environment variable "PASSWORD"
qdm12 commented 4 years ago

Hello, thanks for taking the time to create an issue. It's fixed now, you don't need to specify a password for Mullvad. If you're in a hurry and don't want to wait for the build to finish (see actions above), you can alternatively put any password and it will work (FYI Mullvad uses a hardcoded m password for openvpn, which is forced by my program over any user given value). Happy tunneling!