Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: PIA random server picked even with SERVER_CITIES set #849

Closed
yannduran opened this issue Feb 16, 2022 · 10 comments
Closed

Bug: PIA random server picked even with SERVER_CITIES set #849

yannduran opened this issue Feb 16, 2022 · 10 comments

Comments

@yannduran
Copy link

Is this urgent?

No

Host OS

Synology 920+

CPU arch

x86_64

VPN service provider

Private Internet Access

What are you using to run the container

docker-compose

What is the version of Gluetun

2022-02-13T01:25:21.776Z (commit c40d4e0)

What's the problem 🤔

Even though I've set SERVER_CITIES in my docker-compose file to AU Melbourne or AU Melbourne,AU Sydney (I also tried AU_Melbourne or AU Melbourne,AU_Sydney), I've started to get random cities assigned (see logs of two separate runs).

Share your logs

today at 13:47:23========================================
today at 13:47:23========================================
today at 13:47:23=============== gluetun ================
today at 13:47:23========================================
today at 13:47:23=========== Made with ❤️ by ============
today at 13:47:23======= https://github.com/qdm12 =======
today at 13:47:23========================================
today at 13:47:23========================================
today at 13:47:23
today at 13:47:23Running version latest built on 2022-02-13T01:25:21.776Z (commit c40d4e0)
today at 13:47:23
today at 13:47:23🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
today at 13:47:23🐛 Bug? https://github.com/qdm12/gluetun/issues/new
today at 13:47:23✨ New feature? https://github.com/qdm12/gluetun/issues/new
today at 13:47:23☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
today at 13:47:23💻 Email? quentin.mcgaw@gmail.com
today at 13:47:23💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
today at 13:47:232022/02/16 13:47:23 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 13:47:232022/02/16 13:47:23 INFO routing: local ethernet link found: eth0
today at 13:47:232022/02/16 13:47:23 INFO routing: local ipnet found: 192.168.10.0/24
today at 13:47:232022/02/16 13:47:23 INFO firewall: enabling...
today at 13:47:232022/02/16 13:47:23 INFO firewall: enabled successfully
today at 13:47:232022/02/16 13:47:23 INFO storage: merging by most recent 11096 hardcoded servers and 11096 servers read from /gluetun/servers.json
today at 13:47:232022/02/16 13:47:23 INFO Alpine version: 3.15.0
today at 13:47:232022/02/16 13:47:23 INFO OpenVPN 2.4 version: 2.4.11
today at 13:47:232022/02/16 13:47:23 INFO OpenVPN 2.5 version: 2.5.4
today at 13:47:232022/02/16 13:47:23 INFO Unbound version: 1.13.2
today at 13:47:232022/02/16 13:47:23 INFO IPtables version: v1.8.7
today at 13:47:232022/02/16 13:47:23 INFO Settings summary:
today at 13:47:23├── VPN settings:
today at 13:47:23|   ├── VPN provider settings:
today at 13:47:23|   |   ├── Name: private internet access
today at 13:47:23|   |   └── Server selection settings:
today at 13:47:23|   |       ├── VPN type: openvpn
today at 13:47:23|   |       ├── Cities: au melbourne, au sydney
today at 13:47:23|   |       └── OpenVPN server selection settings:
today at 13:47:23|   |           ├── Protocol: UDP
today at 13:47:23|   |           └── Private Internet Access encryption preset: strong
today at 13:47:23|   └── OpenVPN settings:
today at 13:47:23|       ├── OpenVPN version: 2.5
today at 13:47:23|       ├── User: [set]
today at 13:47:23|       ├── Password: [set]
today at 13:47:23|       ├── Private Internet Access encryption preset: strong
today at 13:47:23|       ├── Tunnel IPv6: no
today at 13:47:23|       ├── Network interface: tun0
today at 13:47:23|       ├── Run OpenVPN as: root
today at 13:47:23|       └── Verbosity level: 1
today at 13:47:23├── DNS settings:
today at 13:47:23|   ├── DNS server address to use: 127.0.0.1
today at 13:47:23|   ├── Keep existing nameserver(s): no
today at 13:47:23|   └── DNS over TLS settings:
today at 13:47:23|       ├── Enabled: yes
today at 13:47:23|       ├── Update period: every 24h0m0s
today at 13:47:23|       ├── Unbound settings:
today at 13:47:23|       |   ├── Authoritative servers:
today at 13:47:23|       |   |   └── cloudflare
today at 13:47:23|       |   ├── Caching: yes
today at 13:47:23|       |   ├── IPv6: no
today at 13:47:23|       |   ├── Verbosity level: 1
today at 13:47:23|       |   ├── Verbosity details level: 0
today at 13:47:23|       |   ├── Validation log level: 0
today at 13:47:23|       |   ├── System user: root
today at 13:47:23|       |   └── Allowed networks:
today at 13:47:23|       |       ├── 0.0.0.0/0
today at 13:47:23|       |       └── ::/0
today at 13:47:23|       └── DNS filtering settings:
today at 13:47:23|           ├── Block malicious: yes
today at 13:47:23|           ├── Block ads: no
today at 13:47:23|           ├── Block surveillance: no
today at 13:47:23|           └── Blocked IP networks:
today at 13:47:23|               ├── 127.0.0.1/8
today at 13:47:23|               ├── 10.0.0.0/8
today at 13:47:23|               ├── 172.16.0.0/12
today at 13:47:23|               ├── 192.168.0.0/16
today at 13:47:23|               ├── 169.254.0.0/16
today at 13:47:23|               ├── ::1/128
today at 13:47:23|               ├── fc00::/7
today at 13:47:23|               ├── fe80::/10
today at 13:47:23|               ├── ::ffff:7f00:1/104
today at 13:47:23|               ├── ::ffff:a00:0/104
today at 13:47:23|               ├── ::ffff:a9fe:0/112
today at 13:47:23|               ├── ::ffff:ac10:0/108
today at 13:47:23|               └── ::ffff:c0a8:0/112
today at 13:47:23├── Firewall settings:
today at 13:47:23|   └── Enabled: yes
today at 13:47:23├── Log settings:
today at 13:47:23|   └── Log level: INFO
today at 13:47:23├── Health settings:
today at 13:47:23|   ├── Server listening address: 127.0.0.1:9999
today at 13:47:23|   ├── Address to ping: github.com
today at 13:47:23|   └── VPN wait durations:
today at 13:47:23|       ├── Initial duration: 5s
today at 13:47:23|       └── Additional duration: 5s
today at 13:47:23├── Shadowsocks server settings:
today at 13:47:23|   └── Enabled: no
today at 13:47:23├── HTTP proxy settings:
today at 13:47:23|   └── Enabled: no
today at 13:47:23├── Control server settings:
today at 13:47:23|   ├── Listening address: :8000
today at 13:47:23|   └── Logging: yes
today at 13:47:23├── OS Alpine settings:
today at 13:47:23|   ├── Process UID: 0
today at 13:47:23|   ├── Process GID: 0
today at 13:47:23|   └── Timezone: Australia/Melbourne
today at 13:47:23├── Public IP settings:
today at 13:47:23|   ├── Fetching: every 12h0m0s
today at 13:47:23|   └── IP file path: /tmp/gluetun/ip
today at 13:47:23└── Version settings:
today at 13:47:23    └── Enabled: yes
today at 13:47:232022/02/16 13:47:23 INFO using existing username root corresponding to user id 0
today at 13:47:232022/02/16 13:47:23 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 13:47:232022/02/16 13:47:23 INFO routing: adding route for 0.0.0.0/0
today at 13:47:232022/02/16 13:47:23 INFO firewall: setting allowed subnets through firewall...
today at 13:47:232022/02/16 13:47:23 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 13:47:232022/02/16 13:47:23 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
today at 13:47:232022/02/16 13:47:23 INFO pprof http server listening on [::]:6060
today at 13:47:232022/02/16 13:47:23 INFO dns over tls: using plaintext DNS at address 1.1.1.1
today at 13:47:232022/02/16 13:47:23 INFO http server: listening on :8000
today at 13:47:232022/02/16 13:47:23 INFO healthcheck: listening on 127.0.0.1:9999
today at 13:47:232022/02/16 13:47:23 INFO firewall: setting VPN connection through firewall...
today at 13:47:232022/02/16 13:47:23 INFO openvpn: OpenVPN 2.5.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 15 2021
today at 13:47:232022/02/16 13:47:23 INFO openvpn: library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
today at 13:47:232022/02/16 13:47:23 INFO openvpn: CRL: loaded 1 CRLs from file -----BEGIN X509 CRL-----
today at 13:47:232022/02/16 13:47:23 INFO openvpn: MIIDWDCCAUAwDQYJKoZIhvcNAQENBQAwgegxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTETMBEGA1UEBxMKTG9zQW5nZWxlczEgMB4GA1UEChMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBAsTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQDExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UEKRMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50ZXJuZXRhY2Nlc3MuY29tFw0xNjA3MDgxOTAwNDZaFw0zNjA3MDMxOTAwNDZaMCYwEQIBARcMMTYwNzA4MTkwMDQ2MBECAQYXDDE2MDcwODE5MDA0NjANBgkqhkiG9w0BAQ0FAAOCAgEAppFfEpGsasjB1QgJcosGpzbf2kfRhM84o2TlqY1ua+Gi5TMdKydA3LJcNTjlI9a0TYAJfeRX5IkpoglSUuHuJgXhP3nEvX10mjXDpcu/YvM8TdE5JV2+EGqZ80kFtBeOq94WcpiVKFTR4fO+VkOK9zwspFfb1cNs9rHvgJ1QMkRUF8PpLN6AkntHY0+6DnigtSaKqldqjKTDTv2OeH3nPoh80SGrt0oCOmYKfWTJGpggMGKvIdvU3vH9+EuILZKKIskt+1dwdfA5Bkz1GLmiQG7+9ZZBQUjBG9Dos4hfX/rwJ3eU8oUIm4WoTz9rb71SOEuUUjP5NPy9HNx2vx+cVvLsTF4ZDZaUztW9o9JmIURDtbeyqxuHN3prlPWB6aj73IIm2dsDQvs3XXwRIxs8NwLbJ6CyEuvEOVCskdM8rdADWx1J0lRNlOJ0Z8ieLLEmYAA834VN1SboB6wJIAPxQU3rcBhXqO9y8aa2oRMg8NxZ5gr+PnKVMqag1x0IxbIgLxtkXQvxXxQHEMSODzvcOfK/nBRBsqTj30P+R87sU8titOoxNeRnBDRNhdEy/QGAqGh62ShPpQUCJdnKRiRTjnil9hMQHevoSuFKeEMO30FQL7BZyo37GFU+q1WPCplVZgCP9hC8Rn5K2+f6KLFo5bhtowSmu+GY1yZtg+RTtsA=
today at 13:47:232022/02/16 13:47:23 INFO openvpn: -----END X509 CRL-----
today at 13:47:232022/02/16 13:47:23 INFO openvpn: TCP/UDP: Preserving recently used remote address: [AF_INET]179.61.240.109:1197
today at 13:47:232022/02/16 13:47:23 INFO openvpn: UDP link local: (not bound)
today at 13:47:232022/02/16 13:47:23 INFO openvpn: UDP link remote: [AF_INET]179.61.240.109:1197
today at 13:47:242022/02/16 13:47:24 WARN openvpn: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1554'
today at 13:47:242022/02/16 13:47:24 WARN openvpn: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
today at 13:47:242022/02/16 13:47:24 WARN openvpn: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
today at 13:47:242022/02/16 13:47:24 INFO openvpn: [newzealand404] Peer Connection Initiated with [AF_INET]179.61.240.109:1197
today at 13:47:242022/02/16 13:47:24 INFO openvpn: TUN/TAP device tun0 opened
today at 13:47:242022/02/16 13:47:24 INFO openvpn: /sbin/ip link set dev tun0 up mtu 1500
today at 13:47:242022/02/16 13:47:24 INFO openvpn: /sbin/ip link set dev tun0 up
today at 13:47:242022/02/16 13:47:24 INFO openvpn: /sbin/ip addr add dev tun0 10.44.110.19/24
today at 13:47:242022/02/16 13:47:24 INFO openvpn: Initialization Sequence Completed
today at 13:47:242022/02/16 13:47:24 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 13:47:242022/02/16 13:47:24 INFO healthcheck: healthy!
today at 13:47:262022/02/16 13:47:26 INFO dns over tls: downloading hostnames and IP block lists
today at 13:47:342022/02/16 13:47:34 INFO dns over tls: init module 0: validator
today at 13:47:342022/02/16 13:47:34 INFO dns over tls: init module 1: iterator
today at 13:47:342022/02/16 13:47:34 INFO dns over tls: start of service (unbound 1.13.2).
today at 13:47:342022/02/16 13:47:34 INFO dns over tls: generate keytag query _ta-4a5c-4f66. NULL IN
today at 13:47:352022/02/16 13:47:35 INFO dns over tls: ready
today at 13:47:352022/02/16 13:47:35 INFO vpn: You are running on the bleeding edge of latest!
today at 13:47:372022/02/16 13:47:37 INFO ip getter: Public IP address is 179.61.240.109 (New Zealand, Auckland, Newmarket)
today at 13:49:45

---

today at 13:50:04========================================
today at 13:50:04========================================
today at 13:50:04=============== gluetun ================
today at 13:50:04========================================
today at 13:50:04=========== Made with ❤️ by ============
today at 13:50:04======= https://github.com/qdm12 =======
today at 13:50:04========================================
today at 13:50:04========================================
today at 13:50:04
today at 13:50:04Running version latest built on 2022-02-13T01:25:21.776Z (commit c40d4e0)
today at 13:50:04
today at 13:50:04🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
today at 13:50:04🐛 Bug? https://github.com/qdm12/gluetun/issues/new
today at 13:50:04✨ New feature? https://github.com/qdm12/gluetun/issues/new
today at 13:50:04☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
today at 13:50:04💻 Email? quentin.mcgaw@gmail.com
today at 13:50:04💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
today at 13:50:042022/02/16 13:50:04 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 13:50:042022/02/16 13:50:04 INFO routing: local ethernet link found: eth0
today at 13:50:042022/02/16 13:50:04 INFO routing: local ipnet found: 192.168.10.0/24
today at 13:50:042022/02/16 13:50:04 INFO firewall: enabling...
today at 13:50:042022/02/16 13:50:04 INFO firewall: enabled successfully
today at 13:50:052022/02/16 13:50:05 INFO storage: merging by most recent 11096 hardcoded servers and 11096 servers read from /gluetun/servers.json
today at 13:50:052022/02/16 13:50:05 INFO Alpine version: 3.15.0
today at 13:50:052022/02/16 13:50:05 INFO OpenVPN 2.4 version: 2.4.11
today at 13:50:052022/02/16 13:50:05 INFO OpenVPN 2.5 version: 2.5.4
today at 13:50:052022/02/16 13:50:05 INFO Unbound version: 1.13.2
today at 13:50:052022/02/16 13:50:05 INFO IPtables version: v1.8.7
today at 13:50:052022/02/16 13:50:05 INFO Settings summary:
today at 13:50:05├── VPN settings:
today at 13:50:05|   ├── VPN provider settings:
today at 13:50:05|   |   ├── Name: private internet access
today at 13:50:05|   |   └── Server selection settings:
today at 13:50:05|   |       ├── VPN type: openvpn
today at 13:50:05|   |       ├── Cities: au melbourne, au sydney
today at 13:50:05|   |       └── OpenVPN server selection settings:
today at 13:50:05|   |           ├── Protocol: UDP
today at 13:50:05|   |           └── Private Internet Access encryption preset: strong
today at 13:50:05|   └── OpenVPN settings:
today at 13:50:05|       ├── OpenVPN version: 2.5
today at 13:50:05|       ├── User: [set]
today at 13:50:05|       ├── Password: [set]
today at 13:50:05|       ├── Private Internet Access encryption preset: strong
today at 13:50:05|       ├── Tunnel IPv6: no
today at 13:50:05|       ├── Network interface: tun0
today at 13:50:05|       ├── Run OpenVPN as: root
today at 13:50:05|       └── Verbosity level: 1
today at 13:50:05├── DNS settings:
today at 13:50:05|   ├── DNS server address to use: 127.0.0.1
today at 13:50:05|   ├── Keep existing nameserver(s): no
today at 13:50:05|   └── DNS over TLS settings:
today at 13:50:05|       ├── Enabled: yes
today at 13:50:05|       ├── Update period: every 24h0m0s
today at 13:50:05|       ├── Unbound settings:
today at 13:50:05|       |   ├── Authoritative servers:
today at 13:50:05|       |   |   └── cloudflare
today at 13:50:05|       |   ├── Caching: yes
today at 13:50:05|       |   ├── IPv6: no
today at 13:50:05|       |   ├── Verbosity level: 1
today at 13:50:05|       |   ├── Verbosity details level: 0
today at 13:50:05|       |   ├── Validation log level: 0
today at 13:50:05|       |   ├── System user: root
today at 13:50:05|       |   └── Allowed networks:
today at 13:50:05|       |       ├── 0.0.0.0/0
today at 13:50:05|       |       └── ::/0
today at 13:50:05|       └── DNS filtering settings:
today at 13:50:05|           ├── Block malicious: yes
today at 13:50:05|           ├── Block ads: no
today at 13:50:05|           ├── Block surveillance: no
today at 13:50:05|           └── Blocked IP networks:
today at 13:50:05|               ├── 127.0.0.1/8
today at 13:50:05|               ├── 10.0.0.0/8
today at 13:50:05|               ├── 172.16.0.0/12
today at 13:50:05|               ├── 192.168.0.0/16
today at 13:50:05|               ├── 169.254.0.0/16
today at 13:50:05|               ├── ::1/128
today at 13:50:05|               ├── fc00::/7
today at 13:50:05|               ├── fe80::/10
today at 13:50:05|               ├── ::ffff:7f00:1/104
today at 13:50:05|               ├── ::ffff:a00:0/104
today at 13:50:05|               ├── ::ffff:a9fe:0/112
today at 13:50:05|               ├── ::ffff:ac10:0/108
today at 13:50:05|               └── ::ffff:c0a8:0/112
today at 13:50:05├── Firewall settings:
today at 13:50:05|   └── Enabled: yes
today at 13:50:05├── Log settings:
today at 13:50:05|   └── Log level: INFO
today at 13:50:05├── Health settings:
today at 13:50:05|   ├── Server listening address: 127.0.0.1:9999
today at 13:50:05|   ├── Address to ping: github.com
today at 13:50:05|   └── VPN wait durations:
today at 13:50:05|       ├── Initial duration: 5s
today at 13:50:05|       └── Additional duration: 5s
today at 13:50:05├── Shadowsocks server settings:
today at 13:50:05|   └── Enabled: no
today at 13:50:05├── HTTP proxy settings:
today at 13:50:05|   └── Enabled: no
today at 13:50:05├── Control server settings:
today at 13:50:05|   ├── Listening address: :8000
today at 13:50:05|   └── Logging: yes
today at 13:50:05├── OS Alpine settings:
today at 13:50:05|   ├── Process UID: 0
today at 13:50:05|   ├── Process GID: 0
today at 13:50:05|   └── Timezone: Australia/Melbourne
today at 13:50:05├── Public IP settings:
today at 13:50:05|   ├── Fetching: every 12h0m0s
today at 13:50:05|   └── IP file path: /tmp/gluetun/ip
today at 13:50:05└── Version settings:
today at 13:50:05    └── Enabled: yes
today at 13:50:052022/02/16 13:50:05 INFO using existing username root corresponding to user id 0
today at 13:50:052022/02/16 13:50:05 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 13:50:052022/02/16 13:50:05 INFO routing: adding route for 0.0.0.0/0
today at 13:50:052022/02/16 13:50:05 INFO firewall: setting allowed subnets through firewall...
today at 13:50:052022/02/16 13:50:05 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 13:50:052022/02/16 13:50:05 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
today at 13:50:052022/02/16 13:50:05 INFO pprof http server listening on [::]:6060
today at 13:50:052022/02/16 13:50:05 INFO dns over tls: using plaintext DNS at address 1.1.1.1
today at 13:50:052022/02/16 13:50:05 INFO http server: listening on :8000
today at 13:50:052022/02/16 13:50:05 INFO healthcheck: listening on 127.0.0.1:9999
today at 13:50:052022/02/16 13:50:05 INFO firewall: setting VPN connection through firewall...
today at 13:50:052022/02/16 13:50:05 INFO openvpn: OpenVPN 2.5.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 15 2021
today at 13:50:052022/02/16 13:50:05 INFO openvpn: library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
today at 13:50:052022/02/16 13:50:05 INFO openvpn: CRL: loaded 1 CRLs from file -----BEGIN X509 CRL-----
today at 13:50:052022/02/16 13:50:05 INFO openvpn: MIIDWDCCAUAwDQYJKoZIhvcNAQENBQAwgegxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTETMBEGA1UEBxMKTG9zQW5nZWxlczEgMB4GA1UEChMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBAsTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQDExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UEKRMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50ZXJuZXRhY2Nlc3MuY29tFw0xNjA3MDgxOTAwNDZaFw0zNjA3MDMxOTAwNDZaMCYwEQIBARcMMTYwNzA4MTkwMDQ2MBECAQYXDDE2MDcwODE5MDA0NjANBgkqhkiG9w0BAQ0FAAOCAgEAppFfEpGsasjB1QgJcosGpzbf2kfRhM84o2TlqY1ua+Gi5TMdKydA3LJcNTjlI9a0TYAJfeRX5IkpoglSUuHuJgXhP3nEvX10mjXDpcu/YvM8TdE5JV2+EGqZ80kFtBeOq94WcpiVKFTR4fO+VkOK9zwspFfb1cNs9rHvgJ1QMkRUF8PpLN6AkntHY0+6DnigtSaKqldqjKTDTv2OeH3nPoh80SGrt0oCOmYKfWTJGpggMGKvIdvU3vH9+EuILZKKIskt+1dwdfA5Bkz1GLmiQG7+9ZZBQUjBG9Dos4hfX/rwJ3eU8oUIm4WoTz9rb71SOEuUUjP5NPy9HNx2vx+cVvLsTF4ZDZaUztW9o9JmIURDtbeyqxuHN3prlPWB6aj73IIm2dsDQvs3XXwRIxs8NwLbJ6CyEuvEOVCskdM8rdADWx1J0lRNlOJ0Z8ieLLEmYAA834VN1SboB6wJIAPxQU3rcBhXqO9y8aa2oRMg8NxZ5gr+PnKVMqag1x0IxbIgLxtkXQvxXxQHEMSODzvcOfK/nBRBsqTj30P+R87sU8titOoxNeRnBDRNhdEy/QGAqGh62ShPpQUCJdnKRiRTjnil9hMQHevoSuFKeEMO30FQL7BZyo37GFU+q1WPCplVZgCP9hC8Rn5K2+f6KLFo5bhtowSmu+GY1yZtg+RTtsA=
today at 13:50:052022/02/16 13:50:05 INFO openvpn: -----END X509 CRL-----
today at 13:50:052022/02/16 13:50:05 INFO openvpn: TCP/UDP: Preserving recently used remote address: [AF_INET]5.253.204.137:1197
today at 13:50:052022/02/16 13:50:05 INFO openvpn: UDP link local: (not bound)
today at 13:50:052022/02/16 13:50:05 INFO openvpn: UDP link remote: [AF_INET]5.253.204.137:1197
today at 13:50:062022/02/16 13:50:06 WARN openvpn: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1554'
today at 13:50:062022/02/16 13:50:06 WARN openvpn: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
today at 13:50:062022/02/16 13:50:06 WARN openvpn: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
today at 13:50:062022/02/16 13:50:06 INFO openvpn: [luxembourg406] Peer Connection Initiated with [AF_INET]5.253.204.137:1197
today at 13:50:062022/02/16 13:50:06 INFO openvpn: TUN/TAP device tun0 opened
today at 13:50:062022/02/16 13:50:06 INFO openvpn: /sbin/ip link set dev tun0 up mtu 1500
today at 13:50:062022/02/16 13:50:06 INFO openvpn: /sbin/ip link set dev tun0 up
today at 13:50:062022/02/16 13:50:06 INFO openvpn: /sbin/ip addr add dev tun0 10.7.110.28/24
today at 13:50:062022/02/16 13:50:06 INFO openvpn: Initialization Sequence Completed
today at 13:50:062022/02/16 13:50:06 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 13:50:072022/02/16 13:50:07 INFO healthcheck: healthy!
today at 13:50:092022/02/16 13:50:09 INFO dns over tls: downloading hostnames and IP block lists
today at 13:50:192022/02/16 13:50:19 INFO dns over tls: init module 0: validator
today at 13:50:192022/02/16 13:50:19 INFO dns over tls: init module 1: iterator
today at 13:50:192022/02/16 13:50:19 INFO dns over tls: start of service (unbound 1.13.2).
today at 13:50:202022/02/16 13:50:20 INFO dns over tls: generate keytag query _ta-4a5c-4f66. NULL IN
today at 13:50:202022/02/16 13:50:20 INFO dns over tls: generate keytag query _ta-4a5c-4f66. NULL IN
today at 13:50:212022/02/16 13:50:21 INFO dns over tls: ready
today at 13:50:232022/02/16 13:50:23 INFO vpn: You are running on the bleeding edge of latest!
today at 13:50:242022/02/16 13:50:24 INFO ip getter: Public IP address is 5.253.204.137 (Luxembourg, Mersch, Cruchten)

Share your configuration

version: "3.7"

services:
  vpn:
    image: qmcgaw/gluetun:latest
    container_name: vpn
    network_mode: secure-network
    hostname: vpn
    cap_add:
      - NET_ADMIN
    restart: always

    environment:
      - TZ=Australia/Melbourne # for accurate logs times
      - PUID=0
      - PGID=0
      # More variables are available, see the readme table
      - VPN_SERVICE_PROVIDER=pia # recently switched from using VPNSP
      - OPENVPN_USER=pxxxxxxx
      - OPENVPN_PASSWORD=
      - SERVER_CITIES=AU Melbourne # recently switched from using 

    volumes:
      - /volume1/docker/appdata/gluetun:/gluetun:rw

    # ports: # ports for apps that use vpn as its network

    labels:
      - deunhealth.restart.on.unhealthy=true
@qdm12
Copy link
Owner

qdm12 commented Feb 16, 2022

Hello there! That's weird, is it the same behavior with image qmcgaw/gluetun:v3.26.0 or qmcgaw/gluetun:v3.27.0?

Gluetun takes care of validating pretty much any settings you set and they are printed out correctly; it might be a problem further downstream in the code, but it looks fine from a quick look at it.

@yannduran
Copy link
Author

yannduran commented Feb 16, 2022

Salut!

It only started doing it today (well late last night according to the logs). I'll try the image tags and report back.

I wish the version info included the version number, not just the date and commit. I can never tell the actual version number I'm running, unless I'm missing looking somewhere. In the log, you give the version number of everything EXCEPT GlueTun itself lol.

Ahh I see it does show a version number when using an image tag, but on latest it just shows 'You are running on the bleeding edge of latest'. Could you show the version number in that message please?

@yannduran
Copy link
Author

yannduran commented Feb 16, 2022

v3.27.0 - same thing

today at 14:52:55========================================
today at 14:52:55========================================
today at 14:52:55=============== gluetun ================
today at 14:52:55========================================
today at 14:52:55=========== Made with ❤️ by ============
today at 14:52:55======= https://github.com/qdm12 =======
today at 14:52:55========================================
today at 14:52:55========================================
today at 14:52:55
today at 14:52:55Running version v3.27.0 built on 2022-01-23T15:18:52.634Z (commit 55e609c)
today at 14:52:55
today at 14:52:55🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
today at 14:52:55🐛 Bug? https://github.com/qdm12/gluetun/issues/new
today at 14:52:55✨ New feature? https://github.com/qdm12/gluetun/issues/new
today at 14:52:55☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
today at 14:52:55💻 Email? quentin.mcgaw@gmail.com
today at 14:52:55💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
today at 14:52:552022/02/16 14:52:55 INFO storage: merging by most recent 11100 hardcoded servers and 11096 servers read from /gluetun/servers.json
today at 14:52:552022/02/16 14:52:55 INFO storage: Using ExpressVPN servers from file which are 3238h36m31s more recent
today at 14:52:552022/02/16 14:52:55 INFO Alpine version: 3.15.0
today at 14:52:562022/02/16 14:52:56 INFO OpenVPN 2.4 version: 2.4.11
today at 14:52:562022/02/16 14:52:56 INFO OpenVPN 2.5 version: 2.5.4
today at 14:52:562022/02/16 14:52:56 INFO Unbound version: 1.13.2
today at 14:52:562022/02/16 14:52:56 INFO IPtables version: v1.8.7
today at 14:52:562022/02/16 14:52:56 INFO Settings summary:
today at 14:52:56├── VPN settings:
today at 14:52:56|   ├── VPN provider settings:
today at 14:52:56|   |   ├── Name: private internet access
today at 14:52:56|   |   └── Server selection settings:
today at 14:52:56|   |       ├── VPN type: openvpn
today at 14:52:56|   |       └── OpenVPN server selection settings:
today at 14:52:56|   |           ├── Protocol: UDP
today at 14:52:56|   |           └── Private Internet Access encryption preset: strong
today at 14:52:56|   └── OpenVPN settings:
today at 14:52:56|       ├── OpenVPN version: 2.5
today at 14:52:56|       ├── User: [set]
today at 14:52:56|       ├── Password: [set]
today at 14:52:56|       ├── Private Internet Access encryption preset: strong
today at 14:52:56|       ├── Tunnel IPv6: no
today at 14:52:56|       ├── Network interface: tun0
today at 14:52:56|       ├── Run OpenVPN as: root
today at 14:52:56|       └── Verbosity level: 1
today at 14:52:56├── DNS settings:
today at 14:52:56|   ├── DNS server address to use: 127.0.0.1
today at 14:52:56|   ├── Keep existing nameserver(s): no
today at 14:52:56|   └── DNS over TLS settings:
today at 14:52:56|       ├── Enabled: yes
today at 14:52:56|       ├── Update period: every 24h0m0s
today at 14:52:56|       ├── Unbound settings:
today at 14:52:56|       |   ├── Authoritative servers:
today at 14:52:56|       |   |   └── cloudflare
today at 14:52:56|       |   ├── Caching: yes
today at 14:52:56|       |   ├── IPv6: no
today at 14:52:56|       |   ├── Verbosity level: 1
today at 14:52:56|       |   ├── Verbosity details level: 0
today at 14:52:56|       |   ├── Validation log level: 0
today at 14:52:56|       |   ├── System user: root
today at 14:52:56|       |   └── Allowed networks:
today at 14:52:56|       |       ├── 0.0.0.0/0
today at 14:52:56|       |       └── ::/0
today at 14:52:56|       └── DNS filtering settings:
today at 14:52:56|           ├── Block malicious: yes
today at 14:52:56|           ├── Block ads: no
today at 14:52:56|           ├── Block surveillance: no
today at 14:52:56|           └── Blocked IP networks:
today at 14:52:56|               ├── 127.0.0.1/8
today at 14:52:56|               ├── 10.0.0.0/8
today at 14:52:56|               ├── 172.16.0.0/12
today at 14:52:56|               ├── 192.168.0.0/16
today at 14:52:56|               ├── 169.254.0.0/16
today at 14:52:56|               ├── ::1/128
today at 14:52:56|               ├── fc00::/7
today at 14:52:56|               ├── fe80::/10
today at 14:52:56|               ├── ::ffff:7f00:1/104
today at 14:52:56|               ├── ::ffff:a00:0/104
today at 14:52:56|               ├── ::ffff:a9fe:0/112
today at 14:52:56|               ├── ::ffff:ac10:0/108
today at 14:52:56|               └── ::ffff:c0a8:0/112
today at 14:52:56├── Firewall settings:
today at 14:52:56|   └── Enabled: yes
today at 14:52:56├── Log settings:
today at 14:52:56|   └── Log level: INFO
today at 14:52:56├── Health settings:
today at 14:52:56|   ├── Server listening address: 127.0.0.1:9999
today at 14:52:56|   ├── Address to ping: github.com
today at 14:52:56|   └── VPN wait durations:
today at 14:52:56|       ├── Initial duration: 5s
today at 14:52:56|       └── Additional duration: 5s
today at 14:52:56├── Shadowsocks server settings:
today at 14:52:56|   └── Enabled: no
today at 14:52:56├── HTTP proxy settings:
today at 14:52:56|   └── Enabled: no
today at 14:52:56├── Control server settings:
today at 14:52:56|   ├── Listening port: 8000
today at 14:52:56|   └── Logging: yes
today at 14:52:56├── OS Alpine settings:
today at 14:52:56|   ├── Process UID: 0
today at 14:52:56|   ├── Process GID: 0
today at 14:52:56|   └── Timezone: Australia/Melbourne
today at 14:52:56├── Public IP settings:
today at 14:52:56|   ├── Fetching: every 12h0m0s
today at 14:52:56|   └── IP file path: /tmp/gluetun/ip
today at 14:52:56└── Version settings:
today at 14:52:56    └── Enabled: yes
today at 14:52:562022/02/16 14:52:56 INFO using existing username root corresponding to user id 0
today at 14:52:562022/02/16 14:52:56 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 14:52:562022/02/16 14:52:56 INFO routing: local ethernet link found: eth0
today at 14:52:562022/02/16 14:52:56 INFO routing: local ipnet found: 192.168.10.0/24
today at 14:52:562022/02/16 14:52:56 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 14:52:562022/02/16 14:52:56 INFO routing: adding route for 0.0.0.0/0
today at 14:52:562022/02/16 14:52:56 INFO firewall: firewall disabled, only updating allowed subnets internal list
today at 14:52:562022/02/16 14:52:56 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 14:52:562022/02/16 14:52:56 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
today at 14:52:562022/02/16 14:52:56 INFO firewall: enabling...
today at 14:52:562022/02/16 14:52:56 INFO firewall: enabled successfully
today at 14:52:562022/02/16 14:52:56 INFO dns over tls: using plaintext DNS at address 1.1.1.1
today at 14:52:562022/02/16 14:52:56 INFO http server: listening on :8000
today at 14:52:562022/02/16 14:52:56 INFO healthcheck: listening on 127.0.0.1:9999
today at 14:52:562022/02/16 14:52:56 INFO firewall: setting VPN connection through firewall...
today at 14:52:562022/02/16 14:52:56 INFO openvpn: OpenVPN 2.5.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 15 2021
today at 14:52:562022/02/16 14:52:56 INFO openvpn: library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
today at 14:52:562022/02/16 14:52:56 INFO openvpn: CRL: loaded 1 CRLs from file -----BEGIN X509 CRL-----
today at 14:52:562022/02/16 14:52:56 INFO openvpn: MIIDWDCCAUAwDQYJKoZIhvcNAQENBQAwgegxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTETMBEGA1UEBxMKTG9zQW5nZWxlczEgMB4GA1UEChMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBAsTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQDExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UEKRMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50ZXJuZXRhY2Nlc3MuY29tFw0xNjA3MDgxOTAwNDZaFw0zNjA3MDMxOTAwNDZaMCYwEQIBARcMMTYwNzA4MTkwMDQ2MBECAQYXDDE2MDcwODE5MDA0NjANBgkqhkiG9w0BAQ0FAAOCAgEAppFfEpGsasjB1QgJcosGpzbf2kfRhM84o2TlqY1ua+Gi5TMdKydA3LJcNTjlI9a0TYAJfeRX5IkpoglSUuHuJgXhP3nEvX10mjXDpcu/YvM8TdE5JV2+EGqZ80kFtBeOq94WcpiVKFTR4fO+VkOK9zwspFfb1cNs9rHvgJ1QMkRUF8PpLN6AkntHY0+6DnigtSaKqldqjKTDTv2OeH3nPoh80SGrt0oCOmYKfWTJGpggMGKvIdvU3vH9+EuILZKKIskt+1dwdfA5Bkz1GLmiQG7+9ZZBQUjBG9Dos4hfX/rwJ3eU8oUIm4WoTz9rb71SOEuUUjP5NPy9HNx2vx+cVvLsTF4ZDZaUztW9o9JmIURDtbeyqxuHN3prlPWB6aj73IIm2dsDQvs3XXwRIxs8NwLbJ6CyEuvEOVCskdM8rdADWx1J0lRNlOJ0Z8ieLLEmYAA834VN1SboB6wJIAPxQU3rcBhXqO9y8aa2oRMg8NxZ5gr+PnKVMqag1x0IxbIgLxtkXQvxXxQHEMSODzvcOfK/nBRBsqTj30P+R87sU8titOoxNeRnBDRNhdEy/QGAqGh62ShPpQUCJdnKRiRTjnil9hMQHevoSuFKeEMO30FQL7BZyo37GFU+q1WPCplVZgCP9hC8Rn5K2+f6KLFo5bhtowSmu+GY1yZtg+RTtsA=
today at 14:52:562022/02/16 14:52:56 INFO openvpn: -----END X509 CRL-----
today at 14:52:562022/02/16 14:52:56 INFO openvpn: TCP/UDP: Preserving recently used remote address: [AF_INET]185.77.248.28:1197
today at 14:52:562022/02/16 14:52:56 INFO openvpn: UDP link local: (not bound)
today at 14:52:562022/02/16 14:52:56 INFO openvpn: UDP link remote: [AF_INET]185.77.248.28:1197
today at 14:52:582022/02/16 14:52:58 WARN openvpn: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1554'
today at 14:52:582022/02/16 14:52:58 WARN openvpn: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
today at 14:52:582022/02/16 14:52:58 WARN openvpn: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
today at 14:52:582022/02/16 14:52:58 INFO openvpn: [jerusalem402] Peer Connection Initiated with [AF_INET]185.77.248.28:1197
today at 14:52:582022/02/16 14:52:58 INFO openvpn: TUN/TAP device tun0 opened
today at 14:52:582022/02/16 14:52:58 INFO openvpn: /sbin/ip link set dev tun0 up mtu 1500
today at 14:52:582022/02/16 14:52:58 INFO openvpn: /sbin/ip link set dev tun0 up
today at 14:52:582022/02/16 14:52:58 INFO openvpn: /sbin/ip addr add dev tun0 10.7.110.6/24
today at 14:52:582022/02/16 14:52:58 INFO openvpn: Initialization Sequence Completed
today at 14:52:582022/02/16 14:52:58 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 14:52:592022/02/16 14:52:59 INFO healthcheck: healthy!
today at 14:53:032022/02/16 14:53:03 INFO dns over tls: downloading hostnames and IP block lists
today at 14:53:132022/02/16 14:53:13 INFO dns over tls: init module 0: validator
today at 14:53:132022/02/16 14:53:13 INFO dns over tls: init module 1: iterator
today at 14:53:132022/02/16 14:53:13 INFO dns over tls: start of service (unbound 1.13.2).
today at 14:53:142022/02/16 14:53:14 INFO dns over tls: generate keytag query _ta-4a5c-4f66. NULL IN
today at 14:53:142022/02/16 14:53:14 INFO dns over tls: generate keytag query _ta-4a5c-4f66. NULL IN
today at 14:53:162022/02/16 14:53:16 INFO dns over tls: ready
today at 14:53:192022/02/16 14:53:19 INFO vpn: You are running the latest release v3.27.0
today at 14:53:232022/02/16 14:53:23 INFO ip getter: Public IP address is 185.77.248.28 (Israel, Tel Aviv, Tel Aviv)

v3.26.0 - same, but worse

today at 14:55:08========================================
today at 14:55:08========================================
today at 14:55:08=============== gluetun ================
today at 14:55:08========================================
today at 14:55:08=========== Made with ❤️ by ============
today at 14:55:08======= https://github.com/qdm12 =======
today at 14:55:08========================================
today at 14:55:08========================================
today at 14:55:08
today at 14:55:08Running version v3.26.0 built on 2021-11-27T12:16:34.703Z (commit b9a9319)
today at 14:55:08
today at 14:55:08🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
today at 14:55:08🐛 Bug? https://github.com/qdm12/gluetun/issues/new
today at 14:55:08✨ New feature? https://github.com/qdm12/gluetun/issues/new
today at 14:55:08☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
today at 14:55:08💻 Email? quentin.mcgaw@gmail.com
today at 14:55:08💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
today at 14:55:092022/02/16 14:55:09 INFO storage: merging by most recent 11120 hardcoded servers and 11096 servers read from /gluetun/servers.json
today at 14:55:092022/02/16 14:55:09 INFO storage: Using ExpressVPN servers from file which are 3238h36m31s more recent
today at 14:55:092022/02/16 14:55:09 INFO storage: Using Privado servers from file which are 5854h0m17s more recent
today at 14:55:092022/02/16 14:55:09 INFO storage: Using ProtonVPN servers from file which are 1465h4m47s more recent
today at 14:55:092022/02/16 14:55:09 INFO Alpine version: 3.14.3
today at 14:55:092022/02/16 14:55:09 INFO OpenVPN 2.4 version: 2.4.11
today at 14:55:092022/02/16 14:55:09 INFO OpenVPN 2.5 version: 2.5.2
today at 14:55:092022/02/16 14:55:09 INFO Unbound version: 1.13.2
today at 14:55:092022/02/16 14:55:09 INFO IPtables version: v1.8.7
today at 14:55:092022/02/16 14:55:09 INFO Settings summary below:
today at 14:55:09|--VPN:
today at 14:55:09   |--Type: openvpn
today at 14:55:09   |--OpenVPN:
today at 14:55:09      |--Version: 2.5
today at 14:55:09      |--Verbosity level: 1
today at 14:55:09      |--Network interface: tun0
today at 14:55:09      |--Run as root: enabled
today at 14:55:09      |--Encryption preset: strong
today at 14:55:09   |--Private Internet Access settings:
today at 14:55:09      |--OpenVPN selection:
today at 14:55:09         |--Protocol: udp
today at 14:55:09         |--PIA encryption preset: strong
today at 14:55:09|--DNS:
today at 14:55:09   |--Plaintext address: 1.1.1.1
today at 14:55:09   |--DNS over TLS:
today at 14:55:09      |--Unbound:
today at 14:55:09          |--DNS over TLS providers:
today at 14:55:09              |--Cloudflare
today at 14:55:09          |--Listening port: 53
today at 14:55:09          |--Access control:
today at 14:55:09              |--Allowed:
today at 14:55:09                  |--0.0.0.0/0
today at 14:55:09                  |--::/0
today at 14:55:09          |--Caching: enabled
today at 14:55:09          |--IPv4 resolution: enabled
today at 14:55:09          |--IPv6 resolution: disabled
today at 14:55:09          |--Verbosity level: 1/5
today at 14:55:09          |--Verbosity details level: 0/4
today at 14:55:09          |--Validation log level: 0/2
today at 14:55:09          |--Username: 
today at 14:55:09      |--Blacklist:
today at 14:55:09         |--Blocked categories: malicious
today at 14:55:09         |--Additional IP networks blocked: 13
today at 14:55:09      |--Update: every 24h0m0s
today at 14:55:09|--Firewall:
today at 14:55:09|--Log:
today at 14:55:09   |--Level: INFO
today at 14:55:09|--System:
today at 14:55:09   |--Process user ID: 0
today at 14:55:09   |--Process group ID: 0
today at 14:55:09   |--Timezone: australia/melbourne
today at 14:55:09|--Health:
today at 14:55:09   |--Server address: 127.0.0.1:9999
today at 14:55:09   |--Address to ping: github.com
today at 14:55:09   |--VPN:
today at 14:55:09      |--Initial duration: 6s
today at 14:55:09      |--Addition duration: 5s
today at 14:55:09|--HTTP control server:
today at 14:55:09   |--Listening port: 8000
today at 14:55:09   |--Logging: enabled
today at 14:55:09|--Public IP getter:
today at 14:55:09   |--Fetch period: 12h0m0s
today at 14:55:09   |--IP file: /tmp/gluetun/ip
today at 14:55:09|--Github version information: enabled
today at 14:55:092022/02/16 14:55:09 INFO using existing username root corresponding to user id 0
today at 14:55:092022/02/16 14:55:09 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 14:55:092022/02/16 14:55:09 INFO routing: local ethernet link found: eth0
today at 14:55:092022/02/16 14:55:09 INFO routing: local ipnet found: 192.168.10.0/24
today at 14:55:092022/02/16 14:55:09 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 14:55:092022/02/16 14:55:09 INFO routing: adding route for 0.0.0.0/0
today at 14:55:092022/02/16 14:55:09 INFO firewall: firewall disabled, only updating allowed subnets internal list
today at 14:55:092022/02/16 14:55:09 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 14:55:092022/02/16 14:55:09 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
today at 14:55:092022/02/16 14:55:09 INFO firewall: enabling...
today at 14:55:092022/02/16 14:55:09 INFO firewall: enabled successfully
today at 14:55:092022/02/16 14:55:09 INFO dns over tls: using plaintext DNS at address 1.1.1.1
today at 14:55:092022/02/16 14:55:09 INFO http server: listening on :8000
today at 14:55:092022/02/16 14:55:09 INFO healthcheck: listening on 127.0.0.1:9999
today at 14:55:092022/02/16 14:55:09 INFO firewall: setting VPN connection through firewall...
today at 14:55:092022/02/16 14:55:09 INFO openvpn: OpenVPN 2.5.2 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May  4 2021
today at 14:55:092022/02/16 14:55:09 INFO openvpn: library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
today at 14:55:092022/02/16 14:55:09 INFO openvpn: CRL: loaded 1 CRLs from file -----BEGIN X509 CRL-----
today at 14:55:092022/02/16 14:55:09 INFO openvpn: MIIDWDCCAUAwDQYJKoZIhvcNAQENBQAwgegxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTETMBEGA1UEBxMKTG9zQW5nZWxlczEgMB4GA1UEChMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBAsTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQDExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UEKRMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50ZXJuZXRhY2Nlc3MuY29tFw0xNjA3MDgxOTAwNDZaFw0zNjA3MDMxOTAwNDZaMCYwEQIBARcMMTYwNzA4MTkwMDQ2MBECAQYXDDE2MDcwODE5MDA0NjANBgkqhkiG9w0BAQ0FAAOCAgEAppFfEpGsasjB1QgJcosGpzbf2kfRhM84o2TlqY1ua+Gi5TMdKydA3LJcNTjlI9a0TYAJfeRX5IkpoglSUuHuJgXhP3nEvX10mjXDpcu/YvM8TdE5JV2+EGqZ80kFtBeOq94WcpiVKFTR4fO+VkOK9zwspFfb1cNs9rHvgJ1QMkRUF8PpLN6AkntHY0+6DnigtSaKqldqjKTDTv2OeH3nPoh80SGrt0oCOmYKfWTJGpggMGKvIdvU3vH9+EuILZKKIskt+1dwdfA5Bkz1GLmiQG7+9ZZBQUjBG9Dos4hfX/rwJ3eU8oUIm4WoTz9rb71SOEuUUjP5NPy9HNx2vx+cVvLsTF4ZDZaUztW9o9JmIURDtbeyqxuHN3prlPWB6aj73IIm2dsDQvs3XXwRIxs8NwLbJ6CyEuvEOVCskdM8rdADWx1J0lRNlOJ0Z8ieLLEmYAA834VN1SboB6wJIAPxQU3rcBhXqO9y8aa2oRMg8NxZ5gr+PnKVMqag1x0IxbIgLxtkXQvxXxQHEMSODzvcOfK/nBRBsqTj30P+R87sU8titOoxNeRnBDRNhdEy/QGAqGh62ShPpQUCJdnKRiRTjnil9hMQHevoSuFKeEMO30FQL7BZyo37GFU+q1WPCplVZgCP9hC8Rn5K2+f6KLFo5bhtowSmu+GY1yZtg+RTtsA=
today at 14:55:092022/02/16 14:55:09 INFO openvpn: -----END X509 CRL-----
today at 14:55:092022/02/16 14:55:09 INFO openvpn: TCP/UDP: Preserving recently used remote address: [AF_INET]154.13.1.70:1197
today at 14:55:092022/02/16 14:55:09 INFO openvpn: UDP link local: (not bound)
today at 14:55:092022/02/16 14:55:09 INFO openvpn: UDP link remote: [AF_INET]154.13.1.70:1197
today at 14:55:152022/02/16 14:55:15 INFO healthcheck: program has been unhealthy for 6s: restarting VPN
today at 14:55:152022/02/16 14:55:15 INFO vpn: stopping
today at 14:55:152022/02/16 14:55:15 INFO vpn: starting
today at 14:55:152022/02/16 14:55:15 INFO firewall: setting VPN connection through firewall...
today at 14:55:152022/02/16 14:55:15 INFO openvpn: OpenVPN 2.5.2 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May  4 2021
today at 14:55:152022/02/16 14:55:15 INFO openvpn: library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
today at 14:55:152022/02/16 14:55:15 INFO openvpn: CRL: loaded 1 CRLs from file -----BEGIN X509 CRL-----
today at 14:55:152022/02/16 14:55:15 INFO openvpn: MIIDWDCCAUAwDQYJKoZIhvcNAQENBQAwgegxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTETMBEGA1UEBxMKTG9zQW5nZWxlczEgMB4GA1UEChMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBAsTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQDExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UEKRMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50ZXJuZXRhY2Nlc3MuY29tFw0xNjA3MDgxOTAwNDZaFw0zNjA3MDMxOTAwNDZaMCYwEQIBARcMMTYwNzA4MTkwMDQ2MBECAQYXDDE2MDcwODE5MDA0NjANBgkqhkiG9w0BAQ0FAAOCAgEAppFfEpGsasjB1QgJcosGpzbf2kfRhM84o2TlqY1ua+Gi5TMdKydA3LJcNTjlI9a0TYAJfeRX5IkpoglSUuHuJgXhP3nEvX10mjXDpcu/YvM8TdE5JV2+EGqZ80kFtBeOq94WcpiVKFTR4fO+VkOK9zwspFfb1cNs9rHvgJ1QMkRUF8PpLN6AkntHY0+6DnigtSaKqldqjKTDTv2OeH3nPoh80SGrt0oCOmYKfWTJGpggMGKvIdvU3vH9+EuILZKKIskt+1dwdfA5Bkz1GLmiQG7+9ZZBQUjBG9Dos4hfX/rwJ3eU8oUIm4WoTz9rb71SOEuUUjP5NPy9HNx2vx+cVvLsTF4ZDZaUztW9o9JmIURDtbeyqxuHN3prlPWB6aj73IIm2dsDQvs3XXwRIxs8NwLbJ6CyEuvEOVCskdM8rdADWx1J0lRNlOJ0Z8ieLLEmYAA834VN1SboB6wJIAPxQU3rcBhXqO9y8aa2oRMg8NxZ5gr+PnKVMqag1x0IxbIgLxtkXQvxXxQHEMSODzvcOfK/nBRBsqTj30P+R87sU8titOoxNeRnBDRNhdEy/QGAqGh62ShPpQUCJdnKRiRTjnil9hMQHevoSuFKeEMO30FQL7BZyo37GFU+q1WPCplVZgCP9hC8Rn5K2+f6KLFo5bhtowSmu+GY1yZtg+RTtsA=
today at 14:55:152022/02/16 14:55:15 INFO openvpn: -----END X509 CRL-----
today at 14:55:152022/02/16 14:55:15 INFO openvpn: TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.31.65:1197
today at 14:55:152022/02/16 14:55:15 INFO openvpn: UDP link local: (not bound)
today at 14:55:152022/02/16 14:55:15 INFO openvpn: UDP link remote: [AF_INET]191.101.31.65:1197
today at 14:55:162022/02/16 14:55:16 WARN openvpn: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1554'
today at 14:55:162022/02/16 14:55:16 WARN openvpn: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
today at 14:55:162022/02/16 14:55:16 WARN openvpn: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
today at 14:55:162022/02/16 14:55:16 INFO openvpn: [paris412] Peer Connection Initiated with [AF_INET]191.101.31.65:1197
today at 14:55:162022/02/16 14:55:16 INFO openvpn: TUN/TAP device tun0 opened
today at 14:55:162022/02/16 14:55:16 INFO openvpn: /sbin/ip link set dev tun0 up mtu 1500
today at 14:55:162022/02/16 14:55:16 INFO openvpn: /sbin/ip link set dev tun0 up
today at 14:55:162022/02/16 14:55:16 INFO openvpn: /sbin/ip addr add dev tun0 10.25.110.65/24
today at 14:55:162022/02/16 14:55:16 INFO openvpn: Initialization Sequence Completed
today at 14:55:162022/02/16 14:55:16 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 14:55:182022/02/16 14:55:18 INFO healthcheck: healthy!
today at 14:55:222022/02/16 14:55:22 WARN dns over tls: cannot update files: context canceled
today at 14:55:222022/02/16 14:55:22 INFO dns over tls: attempting restart in 10s
today at 14:55:232022/02/16 14:55:23 INFO vpn: There is a new release v3.27.0 (v3.27.0) created 23 days ago
today at 14:55:242022/02/16 14:55:24 INFO ip getter: Public IP address is 191.101.31.65 (France, Île-de-France, Paris)
today at 14:55:322022/02/16 14:55:32 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 14:55:322022/02/16 14:55:32 WARN dns over tls: cannot update files: context canceled
today at 14:55:322022/02/16 14:55:32 INFO dns over tls: attempting restart in 20s
today at 14:55:522022/02/16 14:55:52 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 14:55:522022/02/16 14:55:52 WARN dns over tls: cannot update files: context canceled
today at 14:55:522022/02/16 14:55:52 INFO dns over tls: attempting restart in 40s
today at 14:56:322022/02/16 14:56:32 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 14:56:332022/02/16 14:56:33 WARN dns over tls: cannot update files: context canceled
today at 14:56:332022/02/16 14:56:33 INFO dns over tls: attempting restart in 1m20s

et ça continue comme ça

@yannduran
Copy link
Author

yannduran commented Feb 16, 2022

v3.25.0 - yikes!

today at 15:05:372022/02/16 15:05:37 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:05:372022/02/16 15:05:37 INFO Shutdown successful
today at 15:05:412022/02/16 15:05:41 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:05:412022/02/16 15:05:41 INFO Shutdown successful
today at 15:05:452022/02/16 15:05:45 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:05:452022/02/16 15:05:45 INFO Shutdown successful
today at 15:05:502022/02/16 15:05:50 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:05:502022/02/16 15:05:50 INFO Shutdown successful
today at 15:05:542022/02/16 15:05:54 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:05:542022/02/16 15:05:54 INFO Shutdown successful
today at 15:05:582022/02/16 15:05:58 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:05:582022/02/16 15:05:58 INFO Shutdown successful
today at 15:06:00Container stopped

today at 15:10:15Container started
today at 15:09:462022/02/16 15:09:46 INFO Shutdown successful
today at 15:10:152022/02/16 15:10:15 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:10:152022/02/16 15:10:15 INFO Shutdown successful
today at 15:10:17Container stopped
today at 15:11:10Container started
today at 15:10:152022/02/16 15:10:15 INFO Shutdown successful
today at 15:11:102022/02/16 15:11:10 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:11:102022/02/16 15:11:10 INFO Shutdown successful
today at 15:13:16Container started
today at 15:11:102022/02/16 15:11:10 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:11:102022/02/16 15:11:10 INFO Shutdown successful
today at 15:12:132022/02/16 15:12:13 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:12:132022/02/16 15:12:13 INFO Shutdown successful
today at 15:13:162022/02/16 15:13:16 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP
today at 15:13:162022/02/16 15:13:16 INFO Shutdown successful

v3.24.0 - Why ProtonvpnServer??? I'm using PIA. Btw PIA on my Windows desktop (not using a Gluetun container, using the PIA app) is working fine with AU Melbourne server.

@yannduran
Copy link
Author

yannduran commented Feb 16, 2022

Back to v3.27.0

today at 15:15:58========================================
today at 15:15:58========================================
today at 15:15:58=============== gluetun ================
today at 15:15:58========================================
today at 15:15:58=========== Made with ❤️ by ============
today at 15:15:58======= https://github.com/qdm12 =======
today at 15:15:58========================================
today at 15:15:58========================================
today at 15:15:58
today at 15:15:58Running version v3.27.0 built on 2022-01-23T15:18:52.634Z (commit 55e609c)
today at 15:15:58
today at 15:15:58🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
today at 15:15:58🐛 Bug? https://github.com/qdm12/gluetun/issues/new
today at 15:15:58✨ New feature? https://github.com/qdm12/gluetun/issues/new
today at 15:15:58☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
today at 15:15:58💻 Email? quentin.mcgaw@gmail.com
today at 15:15:58💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
today at 15:15:582022/02/16 15:15:58 INFO storage: merging by most recent 11100 hardcoded servers and 11096 servers read from /gluetun/servers.json
today at 15:15:582022/02/16 15:15:58 INFO storage: Using ExpressVPN servers from file which are 3238h36m31s more recent
today at 15:15:582022/02/16 15:15:58 INFO Alpine version: 3.15.0
today at 15:15:582022/02/16 15:15:58 INFO OpenVPN 2.4 version: 2.4.11
today at 15:15:582022/02/16 15:15:58 INFO OpenVPN 2.5 version: 2.5.4
today at 15:15:582022/02/16 15:15:58 INFO Unbound version: 1.13.2
today at 15:15:582022/02/16 15:15:58 INFO IPtables version: v1.8.7
today at 15:15:582022/02/16 15:15:58 INFO Settings summary:
today at 15:15:58├── VPN settings:
today at 15:15:58|   ├── VPN provider settings:
today at 15:15:58|   |   ├── Name: private internet access
today at 15:15:58|   |   └── Server selection settings:
today at 15:15:58|   |       ├── VPN type: openvpn
today at 15:15:58|   |       └── OpenVPN server selection settings:
today at 15:15:58|   |           ├── Protocol: UDP
today at 15:15:58|   |           └── Private Internet Access encryption preset: strong
today at 15:15:58|   └── OpenVPN settings:
today at 15:15:58|       ├── OpenVPN version: 2.5
today at 15:15:58|       ├── User: [set]
today at 15:15:58|       ├── Password: [set]
today at 15:15:58|       ├── Private Internet Access encryption preset: strong
today at 15:15:58|       ├── Tunnel IPv6: no
today at 15:15:58|       ├── Network interface: tun0
today at 15:15:58|       ├── Run OpenVPN as: root
today at 15:15:58|       └── Verbosity level: 1
today at 15:15:58├── DNS settings:
today at 15:15:58|   ├── DNS server address to use: 127.0.0.1
today at 15:15:58|   ├── Keep existing nameserver(s): no
today at 15:15:58|   └── DNS over TLS settings:
today at 15:15:58|       ├── Enabled: yes
today at 15:15:58|       ├── Update period: every 24h0m0s
today at 15:15:58|       ├── Unbound settings:
today at 15:15:58|       |   ├── Authoritative servers:
today at 15:15:58|       |   |   └── cloudflare
today at 15:15:58|       |   ├── Caching: yes
today at 15:15:58|       |   ├── IPv6: no
today at 15:15:58|       |   ├── Verbosity level: 1
today at 15:15:58|       |   ├── Verbosity details level: 0
today at 15:15:58|       |   ├── Validation log level: 0
today at 15:15:58|       |   ├── System user: root
today at 15:15:58|       |   └── Allowed networks:
today at 15:15:58|       |       ├── 0.0.0.0/0
today at 15:15:58|       |       └── ::/0
today at 15:15:58|       └── DNS filtering settings:
today at 15:15:58|           ├── Block malicious: yes
today at 15:15:58|           ├── Block ads: no
today at 15:15:58|           ├── Block surveillance: no
today at 15:15:58|           └── Blocked IP networks:
today at 15:15:58|               ├── 127.0.0.1/8
today at 15:15:58|               ├── 10.0.0.0/8
today at 15:15:58|               ├── 172.16.0.0/12
today at 15:15:58|               ├── 192.168.0.0/16
today at 15:15:58|               ├── 169.254.0.0/16
today at 15:15:58|               ├── ::1/128
today at 15:15:58|               ├── fc00::/7
today at 15:15:58|               ├── fe80::/10
today at 15:15:58|               ├── ::ffff:7f00:1/104
today at 15:15:58|               ├── ::ffff:a00:0/104
today at 15:15:58|               ├── ::ffff:a9fe:0/112
today at 15:15:58|               ├── ::ffff:ac10:0/108
today at 15:15:58|               └── ::ffff:c0a8:0/112
today at 15:15:58├── Firewall settings:
today at 15:15:58|   └── Enabled: yes
today at 15:15:58├── Log settings:
today at 15:15:58|   └── Log level: INFO
today at 15:15:58├── Health settings:
today at 15:15:58|   ├── Server listening address: 127.0.0.1:9999
today at 15:15:58|   ├── Address to ping: github.com
today at 15:15:58|   └── VPN wait durations:
today at 15:15:58|       ├── Initial duration: 5s
today at 15:15:58|       └── Additional duration: 5s
today at 15:15:58├── Shadowsocks server settings:
today at 15:15:58|   └── Enabled: no
today at 15:15:58├── HTTP proxy settings:
today at 15:15:58|   └── Enabled: no
today at 15:15:58├── Control server settings:
today at 15:15:58|   ├── Listening port: 8000
today at 15:15:58|   └── Logging: yes
today at 15:15:58├── OS Alpine settings:
today at 15:15:58|   ├── Process UID: 0
today at 15:15:58|   ├── Process GID: 0
today at 15:15:58|   └── Timezone: Australia/Melbourne
today at 15:15:58├── Public IP settings:
today at 15:15:58|   ├── Fetching: every 12h0m0s
today at 15:15:58|   └── IP file path: /tmp/gluetun/ip
today at 15:15:58└── Version settings:
today at 15:15:58    └── Enabled: yes
today at 15:15:582022/02/16 15:15:58 INFO using existing username root corresponding to user id 0
today at 15:15:582022/02/16 15:15:58 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 15:15:582022/02/16 15:15:58 INFO routing: local ethernet link found: eth0
today at 15:15:582022/02/16 15:15:58 INFO routing: local ipnet found: 192.168.10.0/24
today at 15:15:582022/02/16 15:15:58 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 15:15:582022/02/16 15:15:58 INFO routing: adding route for 0.0.0.0/0
today at 15:15:582022/02/16 15:15:58 INFO firewall: firewall disabled, only updating allowed subnets internal list
today at 15:15:582022/02/16 15:15:58 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 15:15:582022/02/16 15:15:58 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
today at 15:15:582022/02/16 15:15:58 INFO firewall: enabling...
today at 15:15:582022/02/16 15:15:58 INFO firewall: enabled successfully
today at 15:15:582022/02/16 15:15:58 INFO dns over tls: using plaintext DNS at address 1.1.1.1
today at 15:15:582022/02/16 15:15:58 INFO http server: listening on :8000
today at 15:15:582022/02/16 15:15:58 INFO healthcheck: listening on 127.0.0.1:9999
today at 15:15:582022/02/16 15:15:58 INFO firewall: setting VPN connection through firewall...
today at 15:15:582022/02/16 15:15:58 INFO openvpn: OpenVPN 2.5.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 15 2021
today at 15:15:582022/02/16 15:15:58 INFO openvpn: library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
today at 15:15:582022/02/16 15:15:58 INFO openvpn: CRL: loaded 1 CRLs from file -----BEGIN X509 CRL-----
today at 15:15:582022/02/16 15:15:58 INFO openvpn: MIIDWDCCAUAwDQYJKoZIhvcNAQENBQAwgegxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTETMBEGA1UEBxMKTG9zQW5nZWxlczEgMB4GA1UEChMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBAsTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQDExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UEKRMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50ZXJuZXRhY2Nlc3MuY29tFw0xNjA3MDgxOTAwNDZaFw0zNjA3MDMxOTAwNDZaMCYwEQIBARcMMTYwNzA4MTkwMDQ2MBECAQYXDDE2MDcwODE5MDA0NjANBgkqhkiG9w0BAQ0FAAOCAgEAppFfEpGsasjB1QgJcosGpzbf2kfRhM84o2TlqY1ua+Gi5TMdKydA3LJcNTjlI9a0TYAJfeRX5IkpoglSUuHuJgXhP3nEvX10mjXDpcu/YvM8TdE5JV2+EGqZ80kFtBeOq94WcpiVKFTR4fO+VkOK9zwspFfb1cNs9rHvgJ1QMkRUF8PpLN6AkntHY0+6DnigtSaKqldqjKTDTv2OeH3nPoh80SGrt0oCOmYKfWTJGpggMGKvIdvU3vH9+EuILZKKIskt+1dwdfA5Bkz1GLmiQG7+9ZZBQUjBG9Dos4hfX/rwJ3eU8oUIm4WoTz9rb71SOEuUUjP5NPy9HNx2vx+cVvLsTF4ZDZaUztW9o9JmIURDtbeyqxuHN3prlPWB6aj73IIm2dsDQvs3XXwRIxs8NwLbJ6CyEuvEOVCskdM8rdADWx1J0lRNlOJ0Z8ieLLEmYAA834VN1SboB6wJIAPxQU3rcBhXqO9y8aa2oRMg8NxZ5gr+PnKVMqag1x0IxbIgLxtkXQvxXxQHEMSODzvcOfK/nBRBsqTj30P+R87sU8titOoxNeRnBDRNhdEy/QGAqGh62ShPpQUCJdnKRiRTjnil9hMQHevoSuFKeEMO30FQL7BZyo37GFU+q1WPCplVZgCP9hC8Rn5K2+f6KLFo5bhtowSmu+GY1yZtg+RTtsA=
today at 15:15:582022/02/16 15:15:58 INFO openvpn: -----END X509 CRL-----
today at 15:15:582022/02/16 15:15:58 INFO openvpn: TCP/UDP: Preserving recently used remote address: [AF_INET]188.215.235.105:1197
today at 15:15:582022/02/16 15:15:58 INFO openvpn: UDP link local: (not bound)
today at 15:15:582022/02/16 15:15:58 INFO openvpn: UDP link remote: [AF_INET]188.215.235.105:1197
today at 15:15:592022/02/16 15:15:59 WARN openvpn: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1554'
today at 15:15:592022/02/16 15:15:59 WARN openvpn: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
today at 15:15:592022/02/16 15:15:59 WARN openvpn: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
today at 15:15:592022/02/16 15:15:59 INFO openvpn: [cambodia401] Peer Connection Initiated with [AF_INET]188.215.235.105:1197
today at 15:15:592022/02/16 15:15:59 INFO openvpn: TUN/TAP device tun0 opened
today at 15:15:592022/02/16 15:15:59 INFO openvpn: /sbin/ip link set dev tun0 up mtu 1500
today at 15:15:592022/02/16 15:15:59 INFO openvpn: /sbin/ip link set dev tun0 up
today at 15:15:592022/02/16 15:15:59 INFO openvpn: /sbin/ip addr add dev tun0 10.7.110.17/24
today at 15:15:592022/02/16 15:15:59 INFO openvpn: Initialization Sequence Completed
today at 15:15:592022/02/16 15:15:59 INFO dns over tls: downloading DNS over TLS cryptographic files
today at 15:16:022022/02/16 15:16:02 INFO dns over tls: downloading hostnames and IP block lists
today at 15:16:08
today at 15:16:082022/02/16 15:16:08 WARN Caught OS signal, shutting down
today at 15:16:082022/02/16 15:16:08 ERROR http server: http: Server closed
today at 15:16:082022/02/16 15:16:08 INFO http server: terminated ✔️
today at 15:16:082022/02/16 15:16:08 INFO dns ticker: terminated ✔️
today at 15:16:082022/02/16 15:16:08 INFO updater ticker: terminated ✔️
today at 15:16:082022/02/16 15:16:08 INFO control: terminated ✔️
today at 15:16:082022/02/16 15:16:08 INFO updater: terminated ✔️
today at 15:16:082022/02/16 15:16:08 INFO public IP: terminated ✔️
today at 15:16:082022/02/16 15:16:08 INFO tickers: terminated ✔️
today at 15:16:082022/02/16 15:16:08 INFO healthcheck: program has been unhealthy for 5s: restarting VPN
today at 15:16:082022/02/16 15:16:08 INFO vpn: stopping
today at 15:16:082022/02/16 15:16:08 INFO HTTP health server: terminated ✔️
today at 15:16:082022/02/16 15:16:08 ERROR vpn: cannot get version information: Get "https://api.github.com/repos/qdm12/gluetun/releases": context canceled
today at 15:16:092022/02/16 15:16:09 WARN vpn: goroutine shutdown timed out: after 1s ⚠️
today at 15:16:092022/02/16 15:16:09 INFO port forwarding: terminated ✔️
today at 15:16:092022/02/16 15:16:09 INFO shadowsocks proxy: terminated ✔️
today at 15:16:092022/02/16 15:16:09 INFO http proxy: terminated ✔️
today at 15:16:092022/02/16 15:16:09 INFO unbound: terminated ✔️
today at 15:16:102022/02/16 15:16:10 WARN other: group shutdown timed out: 1 out of 4 goroutines: public IP: goroutine shutdown timed out: after 400ms ⚠️
today at 15:16:102022/02/16 15:16:10 INFO routing cleanup...
today at 15:16:102022/02/16 15:16:10 INFO routing: default route found: interface eth0, gateway 192.168.10.1
today at 15:16:102022/02/16 15:16:10 INFO routing: deleting route for 0.0.0.0/0
today at 15:16:102022/02/16 15:16:10 INFO Shutdown successful
today at 15:16:14Container stopped

I've been getting these out of the blue Caught OS signal, shutting down quite a bit lately.

@qdm12
Copy link
Owner

qdm12 commented Feb 16, 2022

I wish the version info included the version number, not just the date and commit

They do for tagged images. There is no version number for untagged images (latest), although it tells you how far away it is from the latest release once the vpn sets up. Maybe more info could be written in the program though.

v3.26.0 and v3.27.0

you need to use SERVER_CITY, SERVER_CITIES is the new name in the latest image, sorry i forgot to mention.

v3.24.0 - Why ProtonvpnServer???

Because it reads the entire servers.json you have bind mounted and gluetun is retro-compatible from okder to newer versions but not really the other way around 😄 There probably was a change in the protonvpn servers data scheme.

Btw PIA on my Windows desktop (not using a Gluetun container, using the PIA app) is working fine with AU Melbourne server.

Yeah definitely a problem with gluetun. I'm just trying to figure out when it got introduced.

I've been getting these out of the blue Caught OS signal, shutting down quite a bit lately.

That's coming from the docker daemon or your OS. You probably are running low on memory? Note gluetun uses 300MBish of ram due to the Unbound block lists, see #813

Anyway, try again previous release image tags with SERVER_CITY please

@qdm12
Copy link
Owner

qdm12 commented Feb 17, 2022

Regarding the error you got in v3.25.0 ERROR cannot read servers from file: json: cannot unmarshal array into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type net.IP, this 'reversed-retro-compatibility' is fixed since v3.26.0 onwards.

@qdm12 qdm12 changed the title Bug: I'm getting random cities, even though SERVER_CITIES is set Bug: PIA I'm getting random cities, even though SERVER_CITIES is set Feb 17, 2022
@qdm12 qdm12 changed the title Bug: PIA I'm getting random cities, even though SERVER_CITIES is set Bug: PIA random server picked even with SERVER_CITIES set Feb 17, 2022
@qdm12
Copy link
Owner

qdm12 commented Feb 17, 2022

Actually PIA only supports REGION / SERVER_REGION as described in its Wiki page, so SERVER_CITY/SERVER_CITIES will always be ignored, despite it's being logged in the settings tree.

Where did you find out about SERVER_CITIES so I can fix potentially misleading documentation? Thanks!

@qdm12 qdm12 closed this as completed Feb 17, 2022
@yannduran
Copy link
Author

yannduran commented Feb 18, 2022

It came up in the log. I just happened to notice that a couple of environment variables were flagged as deprecated (not sure what the exact word was now) and that made me decide to use the new ones.

Would it make sense to redirect SERVER_CITIES to SERVER_REGION for PIA? Or at least write a warning in the log that for PIA SERVER_CITIES will be ignored?

Are you still using Mullvad? And would you recommend it over PIA? If so, why? I ask because it's more expensive. If you prefer, you can message me privately (my github name at live dot com dot au).

Merci!

@qdm12
Copy link
Owner

qdm12 commented Feb 18, 2022

I just happened to notice that a couple of environment variables were flagged as deprecated

Yes good point, it's because I changed the code to have the reading of settings decoupled from the validation of settings, and also each 'part' of the reading is quite independent. So gluetun will pretty much eat whatever setting is available even if it doesn't need it (such as SERVER_CITIES for PIA).

Or at least write a warning in the log that for PIA SERVER_CITIES will be ignored?

Yes done in a4652c2 for the latest image, it will now error out if you set a server filter variable for a provider that doesn't support it. I think that would be clearer than logging a warning for now, to avoid any confusion.

Are you still using Mullvad? And would you recommend it over PIA? If so, why? I ask because it's more expensive. If you prefer, you can message me privately (my github name at live dot com dot au).

Yes I'm still with Mullvad. Mullvad supports OpenVPN, Wireguard, IPv6, port forwarding, static IP addresses, their API is great and they have been reliable for a few years now; it's really the perfect gluetun candidate 😄. Next would be Ivpn and then Windscribe which are also great from my 'coding' experience integrating them.

And then the rest crossing my mind:

  • Torguard and VPN Unlimited allow you to download Wireguard config files which you can use in gluetun
  • PIA offers port forwarding (a pain to integrate but still it's there in gluetun)
  • Cyberghost sucks
  • Nordvpn has a billion servers but is not that reliable (duh)
  • The rest is just OpenVPN standard VPN stuff

De rien! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants