Skip to content

Feature request: Keep IPv6 address for ProtonVPN servers#3442

Description

@ranile

What's the feature 馃

ProtonVPN has servers that can be reached over IPv6, however these addresses are discarded somewhere during the server address collection stage. It would be nice to give gluetun no IPv4 WAN and still be able to reach ProtonVPN (which also provides v6 connectivity over the tunnel)

Extra information and references

$ sudo docker exec -it gluetun cat /gluetun/servers/protonvpn.json | grep '::'
# nothing

$ sudo docker exec -it gluetun cat /gluetun/servers/mullvad.json | grep '::'
        "2a04:27c0:0:c::f001"
# ... a lot of addresses
$ $ sudo docker exec -it gluetun cat /gluetun/servers/airvpn.json | grep '::'
        "2001:ac8:29:5::2"
# ... more addresses

The URL for fetching servers with v6 appears to be: https://account.protonvpn.com/api/vpn/v1/logicals?WithIpV6=1, based on network inspection of their download page. Unless another change is needed downstream, the only source change required here is to update the URL at

const url = "https://account.proton.me/api/vpn/logicals"

and read EntryIPv6 for servers that do have it when parsing the API response into

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions