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.74k stars 333 forks source link

Bug: AirVPN not supported? #2034

Closed runburg closed 4 months ago

runburg commented 5 months ago

Is this urgent?

No

Host OS

Mac

CPU arch

None

VPN service provider

AirVPN

What are you using to run the container

docker-compose

What is the version of Gluetun

v3.28.1

What's the problem 🤔

The logs say that airvpn is not supported but the wiki says otherwise.

Share your logs (at least 10 lines)

2024-01-05 18:00:02 Running version v3.28.1 built on 2022-03-21T21:05:42.542Z (commit e1c2059)
2024-01-05 18:00:02 
2024-01-05 18:00:02 🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
2024-01-05 18:00:02 🐛 Bug? https://github.com/qdm12/gluetun/issues/new
2024-01-05 18:00:02 ✨ New feature? https://github.com/qdm12/gluetun/issues/new
2024-01-05 18:00:02 ☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
2024-01-05 18:00:02 💻 Email? quentin.mcgaw@gmail.com
2024-01-05 18:00:02 💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2024-01-05 18:00:02 2024/01/06 04:00:02 INFO routing: default route found: interface eth0, gateway 172.17.0.1
2024-01-05 18:00:02 2024/01/06 04:00:02 INFO routing: local ethernet link found: eth0
2024-01-05 18:00:02 2024/01/06 04:00:02 INFO routing: local ipnet found: 172.17.0.0/16
2024-01-05 18:00:02 2024/01/06 04:00:02 INFO firewall: enabling...
2024-01-05 18:00:02 2024/01/06 04:00:02 INFO firewall: enabled successfully
2024-01-05 18:00:02 2024/01/06 04:00:02 INFO storage: merging by most recent 11096 hardcoded servers and 11096 servers read from /gluetun/servers.json
2024-01-05 18:00:03 2024/01/06 04:00:03 ERROR VPN settings: provider settings: VPN provider name is not valid: "airvpn" can only be one of custom, cyberghost, expressvpn, fastestvpn, hidemyass, ipvanish, ivpn, mullvad, nordvpn, perfect privacy, privado, private internet access, privatevpn, protonvpn, purevpn, surfshark, torguard, vpn unlimited, vyprvpn, wevpn, windscribe or pia
2024-01-05 18:00:03 2024/01/06 04:00:03 INFO Shutdown successful

Share your configuration

services:
  gluetun:
      image: qmcgaw/gluetun:v3.28.1
      container_name: gluetun
      cap_add:
        - NET_ADMIN
      network_mode: bridge
      ports:
        - 6881:6881
        - 6881:6881/udp
        - 8085:8085
      volumes:
        - ./gluetun:/gluetun
      environment:
        - VPN_SERVICE_PROVIDER=airvpn
        - SERVER_COUNTRIES=Austria
        - FIREWALL_VPN_INPUT_PORTS=xxxxx
      restart: always
bnhf commented 5 months ago

You're going to need to use a newer version. AirVPN wasn't supported 2 years ago when v3.28.1 was released.

qdm12 commented 4 months ago

Yep thanks @bnhf ! 🚀