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.34k stars 348 forks source link

Bug: privado open vpn configuration regions/cities do not match actual privado configurations #2364

Closed ehauk closed 1 month ago

ehauk commented 1 month ago

Is this urgent?

None

Host OS

Unraid/Linux

CPU arch

x86_64

VPN service provider

Privado

What are you using to run the container

Unraid

What is the version of Gluetun

latest

What's the problem πŸ€”

I am using privado as my vpn provider. The regions/cities in gluetun do not match up with the actual servers for their region (at least in the example below). I am not able to connect if I specify Illinois, but change it to virginia and I'm good. Verified IP location with my windows client and did a location based IP lookup.

This is part an openvpn configuration file I downloaded from the privado website when I select chicago, IL. Note the hostname ord-090.vpn.privado.io which resolves to 85.12.30.143.

client dev tun proto udp remote ord-090.vpn.privado.io 1194 resolv-retry infinite nobind persist-key persist-tun persist-remote-ip

Matching this hostname and IP up to the gluetonvpn configuration I find the entry listed for Virginia.

  {
    "vpn": "openvpn",
    "country": "United States",
    "region": "Virginia",
    "city": "Ashburn",
    "hostname": "ord-090.vpn.privado.io",
    "udp": true,
    "ips": [
      "85.12.30.143"
    ]
  },

Share your logs (at least 10 lines)

2024-07-21T20:55:45-05:00 INFO [openvpn] library versions: OpenSSL 3.1.6 4 Jun 2024, LZO 2.10
2024-07-21T20:55:45-05:00 INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]85.12.61.70:1194
2024-07-21T20:55:45-05:00 INFO [openvpn] UDP link local: (not bound)
2024-07-21T20:55:45-05:00 INFO [openvpn] UDP link remote: [AF_INET]85.12.61.70:1194
2024-07-21T20:55:56-05:00 INFO [healthcheck] program has been unhealthy for 11s: restarting VPN
2024-07-21T20:55:56-05:00 INFO [healthcheck] πŸ‘‰ See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
2024-07-21T20:55:56-05:00 INFO [healthcheck] DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION
2024-07-21T20:55:56-05:00 INFO [vpn] stopping
2024-07-21T20:55:56-05:00 INFO [vpn] starting
2024-07-21T20:55:56-05:00 INFO [firewall] allowing VPN connection...
2024-07-21T20:55:56-05:00 DEBUG [firewall] iptables-legacy --delete OUTPUT -d 85.12.61.70 -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
2024-07-21T20:55:56-05:00 DEBUG [firewall] iptables-legacy --delete OUTPUT -o tun0 -j ACCEPT
2024-07-21T20:55:56-05:00 DEBUG [firewall] ip6tables-legacy --delete OUTPUT -o tun0 -j ACCEPT
2024-07-21T20:55:56-05:00 DEBUG [firewall] iptables-legacy --append OUTPUT -d 85.12.30.148 -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
2024-07-21T20:55:56-05:00 DEBUG [firewall] iptables-legacy --append OUTPUT -o tun0 -j ACCEPT
2024-07-21T20:55:56-05:00 DEBUG [firewall] ip6tables-legacy --append OUTPUT -o tun0 -j ACCEPT
2024-07-21T20:55:56-05:00 INFO [openvpn] OpenVPN 2.5.10 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jul  2 2024
2024-07-21T20:55:56-05:00 INFO [openvpn] library versions: OpenSSL 3.1.6 4 Jun 2024, LZO 2.10
2024-07-21T20:55:56-05:00 INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]85.12.30.148:1194
2024-07-21T20:55:56-05:00 INFO [openvpn] UDP link local: (not bound)
2024-07-21T20:55:56-05:00 INFO [openvpn] UDP link remote: [AF_INET]85.12.30.148:1194
2024-07-21T20:55:56-05:00 INFO [openvpn] [ord-091.vpn.privado.io] Peer Connection Initiated with [AF_INET]85.12.30.148:1194
2024-07-21T20:55:57-05:00 INFO [openvpn] TUN/TAP device tun0 opened
2024-07-21T20:55:57-05:00 INFO [openvpn] /sbin/ip link set dev tun0 up mtu 1500
2024-07-21T20:55:57-05:00 INFO [openvpn] /sbin/ip link set dev tun0 up
2024-07-21T20:55:57-05:00 INFO [openvpn] /sbin/ip addr add dev tun0 172.21.20.64/23
2024-07-21T20:55:57-05:00 INFO [openvpn] UID set to nonrootuser
2024-07-21T20:55:57-05:00 INFO [openvpn] Initialization Sequence Completed
2024-07-21T20:55:57-05:00 INFO [dns] downloading DNS over TLS cryptographic files
2024-07-21T20:55:58-05:00 INFO [healthcheck] healthy!
2024-07-21T20:55:58-05:00 INFO [dns] downloading hostnames and IP block lists
2024-07-21T20:55:58-05:00 INFO [dns] init module 0: validator
2024-07-21T20:55:58-05:00 INFO [dns] init module 1: iterator
2024-07-21T20:55:58-05:00 INFO [dns] start of service (unbound 1.20.0).
2024-07-21T20:55:59-05:00 INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-07-21T20:55:59-05:00 INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-07-21T20:55:59-05:00 INFO [dns] ready
2024-07-21T20:55:59-05:00 ERROR [vpn] getting public IP address information: fetching information: too many requests sent for this month from https://ipinfo.io/: 403 403 Forbidden
2024-07-21T20:55:59-05:00 INFO [vpn] You are running on the bleeding edge of latest!

Share your configuration

No response

github-actions[bot] commented 1 month ago

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

qdm12 commented 1 month ago

Note you can update servers yourself, see the Gluetun Wiki. That likely would solve it.

qdm12 commented 1 month ago

See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list

Closing this due to inactivity

github-actions[bot] commented 1 month 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.