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.
Running version latest built on 2024-10-12T14:29:01.263Z (commit 2388e05)
What's the problem π€
Context
Attempting to use Wireguard Port forwarding from ProtonVPN fails and oddly the logs are reminding me to make sure that I have +pmp at the end of my OpenVPN username - however I am using Wireguard so I am not sure if this is just a catch all error message or if Gluetun is actually trying to authenticate to wireguard with non-existant OpenVPN credentials.
It should be noted that if I use OpenVPN, everything works just fine and I am provided the port in the logs as is expected.
Error Message
2024-10-18T12:21:28Z ERROR [vpn] starting port forwarding service: port forwarding for the first time: getting external IPv4 address: executing remote procedure call: reading from udp connection: read udp 10.2.0.2:56390->10.2.0.1:5351: recvfrom: connection refused - make sure you have +pmp at the end of your OpenVPN username
Share your logs (at least 10 lines)
========================================
========================================
=============== gluetun ================
========================================
=========== Made with β€οΈ by ============
======= https://github.com/qdm12 =======
========================================
========================================
Running version latest built on 2024-10-12T14:29:01.263Z (commit 2388e05)
π£ All control server routes will become private by default after the v3.41.0 release
π§ Need help? β Discussion? https://github.com/qdm12/gluetun/discussions/new/choose
π Bug? β¨ New feature? https://github.com/qdm12/gluetun/issues/new/choose
π» Email? quentin.mcgaw@gmail.com
π° Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2024-10-18T12:21:24Z INFO [routing] default route found: interface tap0, gateway 10.0.2.2, assigned IP 10.0.2.100 and family v4
2024-10-18T12:21:24Z INFO [routing] default route found: interface tap0, gateway fe80::2, assigned IP fd00::c04e:8cff:fe86:cc50 and family v6
2024-10-18T12:21:24Z INFO [routing] local ethernet link found: tap0
2024-10-18T12:21:24Z INFO [routing] local ipnet found: 10.0.2.0/24
2024-10-18T12:21:24Z INFO [routing] local ipnet found: fd00::/64
2024-10-18T12:21:24Z INFO [routing] local ipnet found: fe80::/64
2024-10-18T12:21:25Z INFO [firewall] enabling...
2024-10-18T12:21:25Z INFO [firewall] enabled successfully
2024-10-18T12:21:25Z INFO [storage] creating /gluetun/servers.json with 20553 hardcoded servers
2024-10-18T12:21:25Z INFO Alpine version: 3.20.3
2024-10-18T12:21:25Z INFO OpenVPN 2.5 version: 2.5.10
2024-10-18T12:21:25Z INFO OpenVPN 2.6 version: 2.6.11
2024-10-18T12:21:25Z INFO IPtables version: v1.8.10
2024-10-18T12:21:25Z INFO Settings summary:
βββ VPN settings:
| βββ VPN provider settings:
| | βββ Name: protonvpn
| | βββ Server selection settings:
| | | βββ VPN type: wireguard
| | | βββ Server names: CH#140
| | | βββ Port forwarding only servers: yes
| | | βββ Wireguard selection settings:
| | | βββ Endpoint IP address: 149.88.27.232
| | | βββ Server public key: U6izVBdvmWafPuKXctnvArOx6W33X8wBkMvjoOdrBhs=
| | βββ Automatic port forwarding settings:
| | βββ Redirection listening port: disabled
| | βββ Use port forwarding code for current provider
| | βββ Forwarded port file path: /tmp/gluetun/forwarded_port
| βββ Wireguard settings:
| βββ Private key: mA1...X8=
| βββ Interface addresses:
| | βββ 10.2.0.2/32
| βββ Allowed IPs:
| | βββ 0.0.0.0/0
| | βββ ::/0
| βββ Network interface: tun0
| βββ MTU: 1400
βββ DNS settings:
| βββ Keep existing nameserver(s): no
| βββ DNS server address to use: 127.0.0.1
| βββ DNS over TLS settings:
| βββ Enabled: yes
| βββ Update period: every 24h0m0s
| βββ Upstream resolvers:
| | βββ cloudflare
| βββ Caching: yes
| βββ IPv6: no
| βββ DNS filtering settings:
| βββ Block malicious: yes
| βββ Block ads: no
| βββ Block surveillance: no
| βββ Blocked IP networks:
| βββ 127.0.0.1/8
| βββ 10.0.0.0/8
| βββ 172.16.0.0/12
| βββ 192.168.0.0/16
| βββ 169.254.0.0/16
| βββ ::1/128
| βββ fc00::/7
| βββ fe80::/10
| βββ ::ffff:127.0.0.1/104
| βββ ::ffff:10.0.0.0/104
| βββ ::ffff:169.254.0.0/112
| βββ ::ffff:172.16.0.0/108
| βββ ::ffff:192.168.0.0/112
βββ Firewall settings:
| βββ Enabled: yes
βββ Log settings:
| βββ Log level: info
βββ Health settings:
| βββ Server listening address: 127.0.0.1:9999
| βββ Target address: cloudflare.com:443
| βββ Duration to wait after success: 5s
| βββ Read header timeout: 100ms
| βββ Read timeout: 500ms
| βββ VPN wait durations:
| βββ Initial duration: 6s
| βββ Additional duration: 5s
βββ Shadowsocks server settings:
| βββ Enabled: no
βββ HTTP proxy settings:
| βββ Enabled: no
βββ Control server settings:
| βββ Listening address: :8000
| βββ Logging: yes
| βββ Authentication file path: /gluetun/auth/config.toml
βββ Storage settings:
| βββ Filepath: /gluetun/servers.json
βββ OS Alpine settings:
| βββ Process UID: 0
| βββ Process GID: 0
βββ Public IP settings:
| βββ IP file path: /tmp/gluetun/ip
| βββ Public IP data API: ipinfo
βββ Version settings:
βββ Enabled: yes
2024-10-18T12:21:25Z INFO using existing username root corresponding to user id 0
2024-10-18T12:21:25Z INFO [routing] default route found: interface tap0, gateway 10.0.2.2, assigned IP 10.0.2.100 and family v4
2024-10-18T12:21:25Z INFO [routing] default route found: interface tap0, gateway fe80::2, assigned IP fd00::c04e:8cff:fe86:cc50 and family v6
2024-10-18T12:21:25Z INFO [routing] adding route for 0.0.0.0/0
2024-10-18T12:21:25Z INFO [routing] adding route for ::/0
2024-10-18T12:21:25Z INFO [firewall] setting allowed subnets...
2024-10-18T12:21:25Z INFO [routing] default route found: interface tap0, gateway 10.0.2.2, assigned IP 10.0.2.100 and family v4
2024-10-18T12:21:25Z INFO [routing] default route found: interface tap0, gateway fe80::2, assigned IP fd00::c04e:8cff:fe86:cc50 and family v6
2024-10-18T12:21:25Z INFO [dns] using plaintext DNS at address 1.1.1.1
2024-10-18T12:21:25Z INFO [http server] http server listening on [::]:8000
2024-10-18T12:21:25Z INFO [healthcheck] listening on 127.0.0.1:9999
2024-10-18T12:21:25Z INFO [firewall] allowing VPN connection...
2024-10-18T12:21:25Z INFO [wireguard] Using available kernelspace implementation
2024-10-18T12:21:25Z INFO [wireguard] Connecting to 149.88.27.232:51820
2024-10-18T12:21:25Z INFO [wireguard] Wireguard setup is complete. Note Wireguard is a silent protocol and it may or may not work, without giving any error message. Typically i/o timeout errors indicate the Wireguard connection is not working.
2024-10-18T12:21:25Z INFO [dns] downloading hostnames and IP block lists
2024-10-18T12:21:25Z INFO [healthcheck] healthy!
2024-10-18T12:21:26Z INFO [dns] DNS server listening on [::]:53
2024-10-18T12:21:27Z INFO [dns] ready
2024-10-18T12:21:28Z INFO [ip getter] Public IP address is 79.127.207.161 (Switzerland, Zurich, ZΓΌrich)
2024-10-18T12:21:28Z INFO [vpn] You are running on the bleeding edge of latest!
2024-10-18T12:21:28Z INFO [port forwarding] starting
2024-10-18T12:21:28Z ERROR [vpn] starting port forwarding service: port forwarding for the first time: getting external IPv4 address: executing remote procedure call: reading from udp connection: read udp 10.2.0.2:56390->10.2.0.1:5351: recvfrom: connection refused - make sure you have +pmp at the end of your OpenVPN username
@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:
do not ask for updates, be patient
:+1: the issue to show your support instead of commenting
@qdm12 usually checks issues at least once a week, if this is a new urgent bug,
revert to an older tagged container image
Is this urgent?
No
Host OS
Debian Bookworm
CPU arch
x86_64
VPN service provider
ProtonVPN
What are you using to run the container
Podman
What is the version of Gluetun
Running version latest built on 2024-10-12T14:29:01.263Z (commit 2388e05)
What's the problem π€
Context
Attempting to use Wireguard Port forwarding from ProtonVPN fails and oddly the logs are reminding me to make sure that I have
+pmp
at the end of my OpenVPN username - however I am using Wireguard so I am not sure if this is just a catch all error message or if Gluetun is actually trying to authenticate to wireguard with non-existant OpenVPN credentials.It should be noted that if I use OpenVPN, everything works just fine and I am provided the port in the logs as is expected.
Error Message
2024-10-18T12:21:28Z ERROR [vpn] starting port forwarding service: port forwarding for the first time: getting external IPv4 address: executing remote procedure call: reading from udp connection: read udp 10.2.0.2:56390->10.2.0.1:5351: recvfrom: connection refused - make sure you have +pmp at the end of your OpenVPN username
Share your logs (at least 10 lines)
Share your configuration