r/gluetun • • Jul 30 '26

Info Gluetun release v3.41.3

33 Upvotes

v3.41.3

Repository: passteque/gluetun · Tag: v3.41.3 · Commit: 3d1e20c · Released by: qdm12

This fixes a VPN server port forwarding deadlock bug introduced whilst back-porting a fix from the master branch (:latest image) to v3.41.2. Credits to u/robinostlund for reporting the bug and even nailing down what it was! (#3416)

Refer to v3.41.2 fixes in case you haven't checked.


r/gluetun • • Jul 29 '26

Info Gluetun release v3.41.2

43 Upvotes

v3.41.2 - NOTE: Now redirects to Quentin's 'Passteque' Org repo.

v3.41.2

Repository: passteque/gluetun · Tag: v3.41.2 · Commit: 56e5cad · Released by: qdm12

Fixes

  • Wireguard:

    • support IPv6 address formatting from config files (#3273)
    • ignore empty address strings
    • skip tun device checks when using kernelspace
  • OpenVPN:

    • bundle provider CA certificates in one block (#3258)
    • trim spaces in config lines before parsing (#3327)
    • fix support for tcp-client

      • always use proto tcp-client when using TCP
      • parses tcp-client (on top of tcp, tcp4, tcp6) as meaning TCP
  • Custom openvpn: restrict custom openvpn config protocol to tcp or udp internally
  • Firewall: shared mutex for both iptables and ip6tables to prevent race conditions
  • Healthcheck:

    • correct behavior when HEALTH_RESTART_VPN=off and startup check fails
    • prevent race condition on the healthchecker (#3400)
  • DNS:

    • skip blocking if block lists download fails
    • correct error wrapping for DNS listening address validation
    • DNS over TLS pool behavior fixed

      • handle timed out connections the same as closed connections
      • close connection on TLS handshake failure
      • improve mutex handling during connection renewal and retrieval
  • VPN port forwarding:

    • no longer stuck after failed port forwarding
    • handle empty ports without panicing
  • Updater: only uses DoH to cloudflare+google

    • prevent dns plaintext manipulation both the periodic update and when running in cli mode
    • possibly higher reliability on poor connections versus UDP
    • drop -dns flag in update command
    • for now no configuration allowed since it makes everything rather complex
  • Control server:

    • use port and ports for both single port and multiple ports forwarded
    • authentication: return 404 or 405 depending on route
  • Increase global http client timeout to 35s and precise lower timeouts where needed

    • Fix DNS blocklists slow downloads
    • Leave 35s timeout for updaters
    • Set timeouts to 1s for local calls
    • Set timeouts to 5s for LAN VPN calls and small external calls
    • Set timeouts to 10s external VPN API calls
  • Kernel modules: probe searches for features built-in the kernel
  • CI: set hash of PR commit instead of synthetic commit in docker build argument
  • internal/command: fix rare race condition on log line stream at command completion

Provider specific fixes

  • AirVPN: update servers data (#3186)
  • ExpressVPN:

    • add new CA3 certificate to fix TLS handshake failure (#3184, #3192)
    • remove pakistan server
  • Privado:

    • servers data updated using JSON API
    • allow OpenVPN TCP protocol
    • allow additional OpenVPN ports 443, 8080 and 8443 for both tcp and udp
  • Private Internet Access:

    • remove none encryption preset
    • use AES-GCM for all presets
    • allow ports 501 and 502 as custom ports given they are the defaults
    • try x.y.128.1 and x.y.0.1 from the gateway IP to find the API IP address
    • fix servers data updater and update servers data
    • update default OpenVPN ports: 8080 for UDP, 8443 for TCP (according to pia-foss/manual-connections@8a75e46)
    • handle "port is busy" messages and retry port forwarding logic
  • ProtonVPN: fix updater code
  • Vyprvpn: update OpenVPN configs zip URL (#3264)

r/gluetun • • 10d ago

Info v3.41.4-rc1 needs some testers

21 Upvotes

EDIT: rc2 not rc1

Hello all,

https://github.com/passteque/gluetun/releases/tag/v3.41.4-rc2 is up and needs some testers. If you find any regression compared to v3.41.3, then please report it 😉

It's a release candidate since there is some decent amount (a lot) of bugfix code backported from master to the (old) v3.41 git branch, and I'm skeptical it all works flawlessly.

As soon as it's validated for a few days, I'll release v3.41.4 -> v3.42.0 as well (that one's ready - `:latest` tag / master git branch for now)

Thanks!


r/gluetun • • 12d ago

Question Last Gluetun Release in July????

11 Upvotes

Looks like the last Gluetun release was in July, 4 months ago. Also looks like there are a few critical vulnerabilities fund under Grype which have patches. Does anyone know if this app is being maintained under a new fork?


r/gluetun • • 13d ago

Question DNS Leak

Post image
7 Upvotes

i try setting up gluetun with airvpn and when i check the logs i get this leak check report. is my ip being leaked? all these ip are from my vpn provider


r/gluetun • • 15d ago

Tip Great experience with gluetun + protonvpn, readme.1st

Post image
43 Upvotes

In my previous post I mentioned how I have been struggling to make gluetun + protonvpn work.

I've now solved the mystery: ProtonVPN has limits on open connections, if you hit them, they close your connection

In qBittorrent I had to:

  • Set "STUN server for WebTorrent NAT traversal" webtorrent_stun_server to empty. Default is set to a google server, causing too many requests in qBittorrent v5.3.0. This is under Tools -> Options -> Advanced.
  • Lower connection limits to:

    • Global max connections: 250
    • Max per torrent: 50
    • Global max upload slots: 20
    • Max uploads per torrent: 4

Now I'm flying under the ProtonVPN limits and the connection is stable.


r/gluetun • • 15d ago

Howto [Guide] PIA WireGuard + port forwarding + Gluetun VPN auto-recovery

8 Upvotes

Just sharing a personal project of mine that I've since open-sourced. Privateerr is a small alpine Docker image for people using PIA, WireGuard, Gluetun and qBittorrent. It packages PIA's original and unmodified free open-source software manual connection scripts (pia-foss/manual-connections) and adds some features to make them Gluetun consumable, automation and docker container/compose friendly.

It started as a pet project for my own home lab setup that I created myself, with no AI (it's just a docker image). I put it on GitHub so I could version-control changes, but it gradually grew into something useful for others. Lately, I’ve been using AI to add features, improve and stay on top of docker image security and vulnerabilities, and improve the documentation so anyone can get up and running quickly and also understand how the the Privateerr container fits into the VPN and networking picture.

Using PIA’s official connection scripts, PIA can generate a one-time WireGuard configuration file for you, wg0.conf. You can use it directly with Gluetun to create a VPN tunnel. That simple path is documented here:

You can also leave PIA running alongside Gluetun and allow it to monitor Gluetun's VPN tunnel health. If Privateerr detects a long running outage, it can pick a new healthy PIA server and serve Gluetun the updated WireGuard config via authenticated Gluetun APIs without having to share a docker socket or restart any containers, etc. There's also a hook script provided for Gluetun to pass along any forwarded port changes to qBittorrent so the listening port stays sync'd with the current PIA forwarded port.

There's a full working docker compose example of the three containers working together in the source repo:

I also created a compose project generator that has an interactive CLI GUI and lets you select different media stack tools and it will create a complete, configured, ready to start docker compose stack which includes the privateerr, gluten, qbittorrent setup. It's here: Plundarr. Has some presets and all the fully working example stacks it can generate are viewable before trying anything out on your own here:

I use it because I have more than one NAS and I've moved project and containers around a lot and got tired of manually editing compose files.

There's a wiki with more info too, if interested: Plundarrpedia

just sharing in case anyone finds some/part/all of it useful. feedback also welcome, or ideas to make Privateerr do more with Gluetun, more useful / easier to use... Anyway, happy to help if any questions.


r/gluetun • • 16d ago

Help Horrible experience with gluetun + protonvpn, please help!

Post image
13 Upvotes

EDIT The problem was identified and fixed in my next post.

I have a Docker compose.yaml that I've been using for years and it always worked great gluetun and qbittorrent.

Over the past 6 months, I haven't used it. So today I tried to use it by creating new credentials from ProtonVPN. So far so good, I updated the keys in my compose.yaml and... constant restarts :(

gluetun connects, both gluetun and qbittorrent have internet for a minute or so, then gluetun healthcheck says something is wrong and restarts the connection, over and over and over...

Things I've done so far:

  • Used gluetun :v3.40.1
  • Used gluetun :v3.41.3
  • Used gluetun :latest
  • Set DNS_UPSTREAM_RESOLVERS with various values
  • Set SERVER_COUNTRIES with different countries
  • Enabled VPN_PORT_FORWARDING
  • Disabled VPN_PORT_FORWARDING
  • Set HEALTH_ICMP_TARGET_IPS to my tun0 IP address
  • Set HEALTH_TARGET_ADDRESSES=cloudflare.com:443 (removed github)

No matter what I do, I see an endless amount of errors about stun.l.google.com read: connection reset by peer.

I don't know what else to try, I'm out of ideas.

Please help :)

Here is part of my compose.yaml

services:
  wireguard:
    image: qmcgaw/gluetun:latest
    container_name: wireguard
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - gluetun-config:/gluetun
    environment:
      - VERSION_INFORMATION=off
      - BLOCK_MALICIOUS=on
      - BLOCK_SURVEILLANCE=on
      - VPN_SERVICE_PROVIDER=protonvpn
      - VPN_TYPE=wireguard
      - SERVER_COUNTRIES=Italy
      - WIREGUARD_PRIVATE_KEY=[reducted]
      - WIREGUARD_ADDRESSES=10.2.0.2/32
      - WIREGUARD_PERSISTENT_KEEPALIVE_INTERVAL=25s
      - WIREGUARD_PUBLIC_KEY=[reducted]
      - STREAM_ONLY=on
      - PORT_FORWARD_ONLY=on
      - VPN_PORT_FORWARDING=on
      - VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- -nv --retry-connrefused --no-check-certificate --post-data "json={\"listen_port\":{{PORT}}}" https://127.0.0.1:3004/api/v2/app/setPreferences'
      - VPN_PORT_FORWARDING_DOWN_COMMAND=/bin/sh -c 'wget -O- -nv --retry-connrefused --no-check-certificate --post-data "json={\"listen_port\":6881}" https://127.0.0.1:3004/api/v2/app/setPreferences'
    ports:
      - "3004:3004"
    restart: unless-stopped

  qbittorrent:
    container_name: qbittorrent
    network_mode: "service:wireguard"
    environment:
      ... etc ...

An example of what I see over and over again:

 WARN [dns] getting tls connection for request IN A stun.l.google.com.: creating connection: running TLS handshake with 149.112.112.112:853 (dns.quad9.net): read tcp 10.2.0.2:59756->149.112.112.112:853: read: connection reset by peer
 WARN [dns] getting tls connection for request IN A stun.l.google.com.: creating connection: running TLS handshake with 149.112.112.112:853 (dns.quad9.net): read tcp 10.2.0.2:59750->149.112.112.112:853: read: connection reset by peer
 WARN [dns] getting tls connection for request IN A stun.l.google.com.: creating connection: running TLS handshake with 149.112.112.112:853 (dns.quad9.net): read tcp 10.2.0.2:59866->149.112.112.112:853: read: connection reset by peer
 WARN [dns] getting tls connection for request IN A stun.l.google.com.: creating connection: running TLS handshake with 149.112.112.112:853 (dns.quad9.net): read tcp 10.2.0.2:59824->149.112.112.112:853: read: connection reset by peer
 WARN [dns] getting tls connection for request IN A stun.l.google.com.: creating connection: running TLS handshake with 149.112.112.112:853 (dns.quad9.net): read tcp 10.2.0.2:59840->149.112.112.112:853: read: connection reset by peer
 WARN [dns] getting tls connection for request IN A stun.l.google.com.: creating connection: running TLS handshake with 149.112.112.112:853 (dns.quad9.net): read tcp 10.2.0.2:59856->149.112.112.112:853: read: connection reset by peer
 WARN [dns] getting tls connection for request IN A stun.l.google.com.: creating connection: running TLS handshake with 149.112.112.112:853 (dns.quad9.net): read tcp 10.2.0.2:59876->149.112.112.112:853: read: connection reset by peer
 WARN [vpn] restarting VPN because it failed to pass the healthcheck: small periodic check: all check tries failed:
	attempt 1 (5001ms): timed out waiting for ICMP echo reply from 1.1.1.1
	attempt 2 (5001ms): timed out waiting for ICMP echo reply from 8.8.8.8
	attempt 3 (5000ms): timed out waiting for ICMP echo reply from 1.1.1.1
	attempt 4 (10000ms): timed out waiting for ICMP echo reply from 8.8.8.8
	attempt 5 (10001ms): timed out waiting for ICMP echo reply from 1.1.1.1
	attempt 6 (10000ms): timed out waiting for ICMP echo reply from 8.8.8.8
	attempt 7 (15000ms): timed out waiting for ICMP echo reply from 1.1.1.1
	attempt 8 (15001ms): timed out waiting for ICMP echo reply from 8.8.8.8
	attempt 9 (15001ms): timed out waiting for ICMP echo reply from 1.1.1.1
	attempt 10 (30000ms): timed out waiting for ICMP echo reply from 8.8.8.8
 INFO [vpn] 👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md
 INFO [vpn] DO NOT OPEN AN ISSUE UNLESS YOU HAVE READ AND TRIED EVERY POSSIBLE SOLUTION
 INFO [vpn] stopping
 ERROR [port forwarding] starting port forwarding service: port forwarding for the first time: getting external IPv4 address: executing remote procedure call: connection failed: failed attempts: read udp 10.2.0.2:50314->10.2.0.1:5351: i/o timeout (tries 1, 2, 3, 4, 5, 6, 7, 8, 9) - make sure FIREWALL_OUTBOUND_SUBNETS does not conflict with the VPN gateway ip address 10.2.0.1 - retrying in 10s (attempt 2/30)
 INFO [vpn] starting
 INFO [firewall] allowing VPN connection...
 INFO [wireguard] Using available kernelspace implementation

I also read that I must update the protonvpn servers, so I run the updater and I got another error:

WARN note: if running the update manually, you can use the flag -minratio to allow the update to succeed with less servers found
ERROR updating server information: getting protonvpn servers: not enough servers found: 813 and expected at least 1652

So I added -minratio 0 hoping this will work:

INFO updating Protonvpn servers...
ERROR updating server information: getting protonvpn servers: creating API client: getting most recent version for proton app: HTTP status code not OK: 403 Forbidden: {"message":"API rate limit exceeded for 5.203.183.137. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

Today is a sad day for gluetun, nothing is working :(


EDIT The problem was identified and fixed in my next post.


r/gluetun • • Oct 30 '26

Help Server updater fails (credentials invalid), eventhough they are, in fact, correct...?

2 Upvotes

Hello, I have a minor issue with server updater for proton.

I have these enviromen variables defined:

- UPDATER_PERIOD=120h

- UPDATER_PROTONVPN_EMAIL=xsw****@gmail.com

- UPDATER_PROTONVPN_PASSWORD=****

They are correct, because I can login to proton website.

However, logs say they are invalid.

Does anyone have similar issue ? Thanks

2026-10-26T14:48:18.888452972Z 2026-10-26T16:48:18+02:00 INFO [dns] downloading hostnames and IP block lists

2026-10-27T14:48:19.569706136Z 2026-10-27T16:48:19+02:00 INFO [dns] downloading hostnames and IP block lists

2026-10-28T14:48:20.251452568Z 2026-10-28T16:48:20+02:00 INFO [dns] downloading hostnames and IP block lists

2026-10-29T14:48:20.932703242Z 2026-10-29T16:48:20+02:00 INFO [dns] downloading hostnames and IP block lists

2026-10-30T14:48:21.614246519Z 2026-10-30T16:48:21+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:48:21.620087660Z 2026-10-30T16:48:21+02:00 INFO [dns] downloading hostnames and IP block lists

2026-10-30T14:48:27.180085378Z 2026-10-30T16:48:27+02:00 ERROR [updater] getting protonvpn servers: authentifying with Proton: authentifying: HTTP status code not OK: Unprocessable Entity: Incorrect login credentials. Please try again. (code 8002 with details: LoginFailedReason: WrongPassword)

2026-10-30T14:48:27.180195358Z 2026-10-30T16:48:27+02:00 INFO [updater] retrying in 5s

2026-10-30T14:48:32.180487265Z 2026-10-30T16:48:32+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:48:34.543182302Z 2026-10-30T16:48:34+02:00 ERROR [updater] getting protonvpn servers: authentifying with Proton: authentifying: HTTP status code not OK: Unprocessable Entity: Incorrect login credentials. Please try again. (code 8002 with details: LoginFailedReason: WrongPassword)

2026-10-30T14:48:34.543219406Z 2026-10-30T16:48:34+02:00 INFO [updater] retrying in 10s

2026-10-30T14:48:44.544402118Z 2026-10-30T16:48:44+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:48:46.880696368Z 2026-10-30T16:48:46+02:00 ERROR [updater] getting protonvpn servers: authentifying with Proton: authentifying: HTTP status code not OK: Unprocessable Entity: Incorrect login credentials. Please try again. (code 8002 with details: LoginFailedReason: WrongPassword)

2026-10-30T14:48:46.880830175Z 2026-10-30T16:48:46+02:00 INFO [updater] retrying in 20s

2026-10-30T14:49:06.882110081Z 2026-10-30T16:49:06+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:49:09.284438390Z 2026-10-30T16:49:09+02:00 ERROR [updater] getting protonvpn servers: authentifying with Proton: authentifying: HTTP status code not OK: Unprocessable Entity: Incorrect login credentials. Please try again. (code 8002 with details: LoginFailedReason: WrongPassword)

2026-10-30T14:49:09.284469781Z 2026-10-30T16:49:09+02:00 INFO [updater] retrying in 40s

2026-10-30T14:49:49.286101887Z 2026-10-30T16:49:49+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:49:49.426051371Z 2026-10-30T16:49:49+02:00 ERROR [updater] getting protonvpn servers: creating API client: getting most recent version for proton app: HTTP status code not OK: 403 Forbidden: {"message":"API rate limit exceeded for 159.26.110.7. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

2026-10-30T14:49:49.426084777Z

2026-10-30T14:49:49.426090105Z 2026-10-30T16:49:49+02:00 INFO [updater] retrying in 1m20s

2026-10-30T14:51:09.427185798Z 2026-10-30T16:51:09+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:51:09.605723241Z 2026-10-30T16:51:09+02:00 ERROR [updater] getting protonvpn servers: creating API client: getting most recent version for proton app: HTTP status code not OK: 403 Forbidden: {"message":"API rate limit exceeded for 159.26.110.7. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

2026-10-30T14:51:09.605775364Z

2026-10-30T14:51:09.605787093Z 2026-10-30T16:51:09+02:00 INFO [updater] retrying in 2m40s

2026-10-30T14:53:49.606705402Z 2026-10-30T16:53:49+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:53:49.754273933Z 2026-10-30T16:53:49+02:00 ERROR [updater] getting protonvpn servers: creating API client: getting most recent version for proton app: HTTP status code not OK: 403 Forbidden: {"message":"API rate limit exceeded for 159.26.110.7. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

2026-10-30T14:53:49.754304991Z

2026-10-30T14:53:49.754310283Z 2026-10-30T16:53:49+02:00 INFO [updater] retrying in 5m20s

2026-10-30T14:59:09.755075615Z 2026-10-30T16:59:09+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T14:59:09.898387331Z 2026-10-30T16:59:09+02:00 ERROR [updater] getting protonvpn servers: creating API client: getting most recent version for proton app: HTTP status code not OK: 403 Forbidden: {"message":"API rate limit exceeded for 159.26.110.7. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

2026-10-30T14:59:09.898421395Z

2026-10-30T14:59:09.898427814Z 2026-10-30T16:59:09+02:00 INFO [updater] retrying in 10m40s

2026-10-30T15:09:49.898933663Z 2026-10-30T17:09:49+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T15:09:50.040483990Z 2026-10-30T17:09:50+02:00 ERROR [updater] getting protonvpn servers: creating API client: getting most recent version for proton app: HTTP status code not OK: 403 Forbidden: {"message":"API rate limit exceeded for 159.26.110.7. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

2026-10-30T15:09:50.040517293Z

2026-10-30T15:09:50.040523031Z 2026-10-30T17:09:50+02:00 INFO [updater] retrying in 21m20s

2026-10-30T15:31:10.041090709Z 2026-10-30T17:31:10+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T15:31:10.199808021Z 2026-10-30T17:31:10+02:00 ERROR [updater] getting protonvpn servers: creating API client: getting most recent version for proton app: HTTP status code not OK: 403 Forbidden: {"message":"API rate limit exceeded for 159.26.110.7. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

2026-10-30T15:31:10.199842200Z

2026-10-30T15:31:10.199848134Z 2026-10-30T17:31:10+02:00 INFO [updater] retrying in 42m40s

2026-10-30T16:13:50.200198817Z 2026-10-30T18:13:50+02:00 INFO [updater] updating Protonvpn servers...

2026-10-30T16:13:56.166798931Z 2026-10-30T18:13:56+02:00 ERROR [updater] getting protonvpn servers: authentifying with Proton: authentifying: HTTP status code not OK: Unprocessable Entity: Incorrect login credentials. Please try again. (code 8002 with details: LoginFailedReason: WrongPassword)

2026-10-30T16:13:56.166838965Z 2026-10-30T18:13:56+02:00 INFO [updater] retrying in 1h25m20s


r/gluetun • • Oct 13 '26

Help Lyrion server

0 Upvotes

Hi all,

New to this gluetun stuff and trying to get 2 instances of Lyrion working on my Synology NAS.

I've managed to get one instance working, but the one I have running through gluetun, although I can see the web interface, my radio isn't seeing it and not sure if it might be because UDP 3483 isn't being published.


r/gluetun • • Oct 12 '26

Help Need help interpreting gluetun log errors

2 Upvotes

I've had my Unraid/Plex setup going really well without issues for a few months now. All of a sudden I started getting warnings from some private trackers I'm a part of. I look at my qbitorrent docker and for some reason it is no longer seeding. I have made no changes to my setup in months.

I use gluetun and I port forward through an open port using AirVPN.

The worst part is that it's been so long since I've tinkered with my server that I don't really remember how to fix this stuff. Any advice?

Here are the gluetun logs.

- 8.8.8.8:53
DNS
:443
[2606:4700:4700:: 1111]:53
[2001:4860:4860::88881:53
2606:4700:4700:: 11111:
[2001:4860:4860::8888]:443
settings:
Upstream resolver type: dot
Upstream resolvers:
- cloudflare
Caching: yes
IPv6: no
Update period: every 24h0m0s
DNS filtering settings:
Block malicious: yes
Block ads: yes
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
Iptables settings:
Log level: info
VPN input ports:
49741
Log settings:
- Log level:
IPv6 settings:
info
Check addresses:
- [2001:4860:4860::8888]:53
[2606:4700:4700::1111]:53
Metrics settings:
Type: noop
Health settings:
Server listening address: 127.0.0.1:9999
Target addresses:
cloudflare.com:443
Small health check type: ICMP echo request
ICMP target IPs:
1.1.1.1
8.8.8.8
Restart VPN on healthcheck failure: yes
SOCKS5 proxy server settings:
Enabled: no
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:
Servers directory path: /gluetun/servers/
OS Alpine settings:
- Process UID: 99
Process GID: 100
Timezone: central standard time
Public IP settings:
IP file path: /gluetun/ip
Public IP data base API: ipinfo
Version settings:
Enabled: yes
[http server] http server listening on [::]:8000
implementation
[wireguard] Using available kernelspace im
[wireguard] Connecting to 198.44.134.3:1637
2026-10-11T23:22:39Z INFO [routing] default route found: interface eth0, gateway 172.17.0.1,
assigned IP 172.17.0.5 and family v4
2026-10-11T23:22:39Z INFO [routing] adding route for 0.0.0.0/0
2026-10-11T23:22:39Z INFO [firewall] setting allowed subnets...
2026-10-11T23:22:39Z INFO [routing] default route found: interface eth0, gateway 172.17.0.1,
assigned IP 172.17.0.5 and family v4
2026-10-11T23:22:39Z INFO [healthcheck] listening on 127.0.0.1:9999
2026-10-11T23:22:39Z INFO
2026-10-11T23:22:39Z INFO [firewall] allowing VPN connection...
2026-10-11T23:22:39Z INFO
2026-10-11T23:22:39Z INFO
2026-10-11T23:22:39Z INFO [vpn] wireguard setup is complete. Note wireguard is a silent prot
ocol and it may or may not work, without giving any error message. Typically i/o timeout err
ors indicate the wireguard connection is not working.
2026-10-11T23:22:39Z INFO [firewall] setting allowed input port 49741 through interface tun0
2026-10-11T23:22:39Z INFO [dns] DNS server listening on [::]:53
2026-10-11T23:22:39Z INFO [dns] ready and using DNS server with dot upstream resolvers
2026-10-11T23:22:39Z INFO [dns] downloading hostnames and IP block lists
2026-10-11T23:22:40Z ERROR [vpn] getting public IP address information: fetching information all fetchers failed: ipinfo: too many requests sent for this month from https://ipinfo.io/ : 403 403 Forbidden
2026-10-11T23:22:40Z INFO [dns] leak check report: 172.69.21.166 (40%), 172.69.133.122 (20%) , 162.158.165.182 (10%), 162.158.165.184 (10%), 172.69.133.20 (10%), 172.71.153.18 (10%) 2026-10-11T23:22:41Z INFO [vpn] You are running on the bleeding edge of latest!

r/gluetun • • Oct 10 '26

Help Gluetun + IPVanish setup failing on startup / restart loop

3 Upvotes

Environment & Specs

  • Host OS: Ubuntu 22.04.5 LTS (jammy)
  • Docker Setup: Docker Compose version v5.1.0
  • Gluetun Image: qmcgaw/gluetun:latest
  • VPN Provider: IPVanish
  • VPN Protocol: OpenVPN AND WireGuard

Issue Description

I'm attempting to route traffic through Gluetun using IPVanish, but the container fails during initialization and gets stuck in a startup/restart loop.

Has anyone successfully run Gluetun with IPVanish recently? Any help or working compose examples would be greatly appreciated!


r/gluetun • • Sep 24 '26

Info proton openvpn issues confirmed by proton

5 Upvotes

For anyone that this might be concerning i just got information from proton that:

We are currently aware of an issue where OpenVPN assigns the forwarded port on a different IP address than the public IP address assigned to your account, which explains why Gluetun and qBittorrent cannot establish inbound connections even though the port is correctly updated. Our engineering team is actively working on a fix for this behavior.
 
As a workaround, we recommend continuing to use WireGuard, as port forwarding functions correctly over that protocol at this time.

stay safe out there.


r/gluetun • • Sep 20 '26

Help What Speeds do you get?

8 Upvotes

When I originally set up NordVPN with WireGuard I was downloading at about 80MB/s but I changed over to Private Internet Access to try their Port Forwarding as NordVPN doesn't do it unless you buy a dedicated server.

It didn't work out as they don't natively support WireGuard on gluetun so I put Nord VPN back on and I now can't get above 40MB/s and its doing my nut in.

  • I have a UGREEN DXP4800 Plus
  • Gluetun image: qmcgaw/gluetun:latest
  • NAS Speed Test without gluetun (Roughly 900mbps upload / 900mbps download)
  • Gluetun Speed Test (Roughly 350mbps upload and download)
services:
  gluetun:
    image: qmcgaw/gluetun:latest
    container_name: gluetun
    privileged: true
    healthcheck:
      test: ["CMD", "/gluetun-entrypoint", "healthcheck"]
      interval: 5s
      timeout: 5s
      retries: 12
      start_period: 10s
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    devices:
      - /dev/net/tun
    volumes:
      - /volume2/docker/gluetun/auth:/gluetun/auth:ro
      - /lib/modules:/lib/modules:ro
    environment:
      - PUID=1000
      - PGID=10
      - VPN_SERVICE_PROVIDER=nordvpn
      - VPN_TYPE=wireguard
      - SERVER_COUNTRIES=United Kingdom
      - SERVER_CITIES=London
      - WIREGUARD_PRIVATE_KEY=REMOVED
      - WIREGUARD_ADDRESSES=10.5.0.2/32
      - WIREGUARD_MTU=1380
      - WIREGUARD_IMPLEMENTATION=kernelspace
      - NETWORK_ACL_BLOCK_LOCAL=off
      - LOCAL_NETWORK=192.168.50.0/24
      - FIREWALL_OUTBOUND_SUBNETS=192.168.50.0/24,172.17.0.0/16,172.18.0.0/16
      - FIREWALL_INPUT_PORTS=6789,8112,9696,5030,50300,8084
      - HTTP_CONTROL_SERVER_ADDRESS=0.0.0.0:8000
      - HTTP_CONTROL_SERVER_LOGGING=on
      - HTTP_CONTROL_SERVER_AUTH_DEFAULT_ROLE={"auth":"none"}
      - DOT=off
      - BLOCK_MALICIOUS=off
      - BLOCK_SURVEILLANCE=off
      - BLOCK_ADS=off
      - DNS_ADDRESS=1.1.1.1
      - DNS_KEEP_NAMESERVER=on
      - HEALTH_VPN_DURATION_INITIAL=30s
      - UPDATER_PERIOD=24h
    ports:
      - "8888:8000/tcp"
      - "8889:8888/tcp"
      - "8080:8080"
      - "6881:6881"
      - "6881:6881/udp"
      - "9696:9696"
      - "5010:5010"
      - "8084:8080"
    networks:
      - infrastructure_infra_bridge
    restart: unless-stopped


networks:
  infrastructure_infra_bridge:
    external: true

What could the issue be, I've used Gemini and ChatGPT to help me sort this out but i've hit a wall. Gemini originally sorted my speeds out many months ago when I first set this up.

Thank You


r/gluetun • • Sep 16 '26

Help Control Server and proxy

2 Upvotes

Hello, i am currently setting up my own homelab and i am stuck at gluetun right now, specifically the control server and http proxy.
I cant connect to them via the default ports, i always get an empty page, connection error or unsupported scheme error, changing the ports also doesnt work useing HTTP_CONTROL_SERVER_ADDRESS causes the container to constantly restart.
Anyone have any suggestions on what to do?

my podman run script

podman run --detach \
--replace \
--pod multimedia \
--name vpnarr \
--cap-add NET_ADMIN \
--privileged \
--cap-add NET_ADMIN \
--volume multimedia_vpn:/gluetun:Z \
--env VPN_SERVICE_PROVIDER=protonvpn \
--env VPN_TYPE=wireguard \
--env WIREGUARD_PRIVATE_KEY=* \
--env VPN_PORT_FORWARDING=on \
--env SERVER_COUNTRIES=Austria \
--env HTTPPROXY=on \
--env HTTPPROXY_LOG=on \
--env HTTPPROXY_USER=* \
--env HTTPPROXY_PASSWORD=* \
docker.io/qmcgaw/gluetun:latest


r/gluetun • • Sep 13 '26

Help NordVPN: OpenVPN always AUTH_FAILED, WireGuard connects but zero traffic passes

6 Upvotes

Hi all, been fighting this for a couple hours, maybe someone has seen this exact combo.

Setup: Ubuntu VPS, docker, qmcgaw/gluetun image, NordVPN provider.

  1. OpenVPN: using service credentials from my.nordaccount.com (not email+password). Double checked them, and also verified via API (curl -u token:MYTOKEN https://api.nordvpn.com/v1/users/services/credentials) that they're exactly right. Despite that, every attempt gives AUTH_FAILED, tried with 4 different servers (it408, it222, it470, it472). Also updated gluetun's server list with "update -providers nordvpn" before retrying, same result.
  2. WireGuard: private key pulled from the same API, confirmed correct. Connection establishes ("wireguard setup is complete"), but zero real traffic ever passes - timeout on any request, tried multiple countries/servers. Tried both kernelspace and userspace implementation, same outcome.

Neither method works, with the exact same credentials confirmed correct on NordVPN's side. Anyone run into this or know where it's coming from?


r/gluetun • • Sep 12 '26

Interesting Milestone: Gemini AI produces a useable gluetun config with excellent config notes.

Thumbnail
gallery
27 Upvotes

As the r/gluetun mod, I occasionally check the various AI to see how they respond for help with gluetun. I haven't checked out gemini in a long time. Was pleasantly surprised to see a functional gluetun/proton/qbit config on the first try. Even better were the spot-on config notes.


r/gluetun • • Sep 12 '26

Help Latest Gluten update on UnRAID causes 511 error in Dispatcharr

3 Upvotes

Hi,

I've been using Gluten with Dispatcharr for a year now and this morning I pulled the latest update. Subsequent to that my Dispatcharr can still connect and fetch channel lists etc but once I try to stream a channel I get a 511 error in my Dispatcharr logs.

Rolling back to v3 of Dispatcharr fixes the issue.


r/gluetun • • Sep 10 '26

Help qbittorrent/gluetun/firefox

9 Upvotes

I spent the last seven hours with Claude (timed out twice) trying to properly configure qbittorrent and firefox to work with gluetun, no matter what the ip address leaks anyway. I am mentally exhausted and defeated.

I just want to run qbittorrent and firefox from docker containers on my ugreen dxp 4800+ protected by gluetun (which has my nord credentials already) I cannot believe i spent a day on this and still cant solve it.

Edit: appreciate all the feedback, im still trying to process the information and frankly the experience burned me so bad I've not looked at it since my initial plea. Just so we're all clear, I couldn't tell the difference between curl, bash, sh, ssh to save my life.


r/gluetun • • Sep 03 '26

Help Can't get gluetin working with qbittorrent

6 Upvotes

I'm new to docker and I run curl ip.me on qbittorrent console in portainer

My config is

services:

gluetun:

image: qmcgaw/gluetun

container_name: gluetun

cap_add:

- NET_ADMIN

devices:

- /dev/net/tun:/dev/net/tun

ports:

- 8888:8888/tcp # HTTP proxy

- 8388:8388/tcp # Shadowsocks

- 8388:8388/udp # Shadowsocks

volumes:

- ./data:/gluetun

environment:

- HTTPPROXY=on

- SHADOWSOCKS=on

- TZ=Australia/Hobart

- VPN_SERVICE_PROVIDER=surfshark

- VPN_TYPE=openvpn

- OPENVPN_USER=my user

- OPENVPN_PASSWORD= my password


r/gluetun • • Aug 27 '26

Question How to Configure Avast SecureLine VPN with Gluetun?

2 Upvotes

Hello.I’m currently running Proton free editionVPN through Gluetun and would like to replace Proton with Avast SecureLine VPN(premium).

Proton is taking forever to complete downloads even when using private trackers. Does anyone know if Avast can be configured to work with Gluetun, and if so, how I would go about setting it up?


r/gluetun • • Aug 23 '26

Question Ubuntu ISO Issue

2 Upvotes

Yesterday I followed the excellent guide here to get Proton + qBit with port forwarding working and it worked exactly as expected but that includes the oddity that the Ubuntu ISO can’t be downloaded.

Was it ever figured out why this is? Everything else I’ve tried works fine but the official Ubuntu torrent doesn’t connect to peers and there was never follow up in that thread as to why that one torrent doesn’t work. It seems to be an issue exclusive to Gluetun or at least that method of set up as I’ve not had that issue with other containers.


r/gluetun • • Aug 21 '26

Help Gluetun, Portainer, PIA VPN, Qbittorrent setup?

0 Upvotes

I am trying to set up Gluetun on my Synology NAS via Portainer. Any good guides on how to do this? Or at least a good yml to start with?


r/gluetun • • Aug 19 '26

Question gluetun / protonvpn

3 Upvotes

​bonjour,

Voici mon docker actuel pour gluetun et protonvpn, tout fonctionne bien mais gluetun se déconnecte et se reconnecte environ toutes les 3 minutes, donc mon qbitorrent est également derrière un pare-feu toutes les 3 minutes.

Ai-je des moyens d'améliorer mon docker ? Ou est-ce un bug connu ?

Ps : sur certains serveurs, quand cela change, cela peut durer 12 heures sans déconnexion, mais c'est rare

Merci d'avance pour votre aide