# Gluetun

> VPN client in a thin Docker container for multiple VPN providers

Source: https://talira.ai/catalog/gluetun-vvebd6c6
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [networking / vpn / client containers](https://talira.ai/categories/networking/vpn/client-containers), [networking / vpn](https://talira.ai/categories/networking/vpn)
- Platforms: docker, linux, kubernetes[^2]
- Licence: MIT[^3]
- Pricing: Free and open source[^2]
- Pricing notes: Free and MIT licensed; you need a subscription with a VPN provider. Donations through GitHub Sponsors and PayPal.
- Free tier: yes[^2]
- Self-hostable: yes[^2]
- API: yes[^4]
- Creator: Quentin McGaw (qdm12)

Gluetun is a small [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) container (Alpine-based, about 43 MB) that connects to a commercial VPN provider over [OpenVPN](https://talira.ai/catalog/openvpn-1k280v71.md) or [WireGuard](https://talira.ai/catalog/wireguard-5kp2vca6.md) so other containers can send their traffic through it. It supports AirVPN, Mullvad, [NordVPN](https://talira.ai/catalog/nordvpn-bfmcfxxp.md), ProtonVPN, Private Internet Access, Surfshark, Windscribe and about fifteen more providers, plus custom WireGuard configurations, and has a firewall kill switch that only lets traffic out through the tunnel. It also serves DNS over TLS with ad and malware blocking, built-in HTTP, SOCKS5 and Shadowsocks proxies, VPN port forwarding for providers that offer it, and an authenticated HTTP control server for changing its state at runtime. It's written in Go by Quentin McGaw and is MIT licensed; its only official sites are its [GitHub](https://talira.ai/catalog/github-ppcgj756.md) repository and wiki.

## Links

- GitHub: https://github.com/passteque/gluetun
- Docs: https://github.com/qdm12/gluetun-wiki

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/gluetun-1qymtt21nperzu>[^1]

## Problems it solves

- route my qBittorrent container's traffic through my VPN provider without putting the whole server on the VPN
- if the VPN drops, my download client must lose internet instead of leaking my real IP
- connect a Docker container to NordVPN, Mullvad, ProtonVPN or Surfshark with WireGuard
- share one VPN connection between several containers on my home server
- run an HTTP or SOCKS5 proxy on my LAN that exits through my VPN subscription
- use my VPN provider's port forwarding so my torrent client is connectable behind the VPN
- encrypted DNS over TLS for the containers that go through my VPN tunnel
- block ads and malware domains for traffic leaving through the VPN container
- point a Kubernetes pod's traffic through a commercial VPN as a sidecar
- use a custom WireGuard config from any provider inside a container
- switch VPN servers or check the public IP of my VPN container through an HTTP API
- a VPN client container that runs on a Raspberry Pi or other ARM board
- let a device on my LAN browse through my VPN without installing a VPN app on it

## Features

- OpenVPN for every supported provider; WireGuard in kernel or userspace for AirVPN, FastestVPN, IVPN, Mullvad, NordVPN, ProtonVPN, Surfshark and Windscribe
- about 20 VPN providers, plus custom OpenVPN and WireGuard configurations; AmneziaWG through the custom provider
- firewall kill switch that only allows traffic through the VPN, to the VPN server and to allowed LAN devices
- DNS over TLS with blocking of malicious and ad hostnames, updated every 24 hours
- built-in HTTP, SOCKS5 and Shadowsocks proxy servers
- VPN server port forwarding for Private Internet Access, PrivateVPN and ProtonVPN
- other containers can share its network, and LAN devices can connect through it
- HTTP control server with basic or API-key authentication to read and change its state
- images for amd64, i686, ARM64, ARMv6 and ARMv7 and ppc64le
- works as a Kubernetes sidecar container

## Limitations

- Isn't a VPN service: you need an account with a supported VPN provider or your own WireGuard or OpenVPN server[^2]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Quentin McGaw (qdm12)

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [WireGuard](https://talira.ai/catalog/wireguard-5kp2vca6.md): Fast, modern, secure VPN tunnel

## Sources

[^1]: https://ca.unraid.net/api/apps/gluetun-1qymtt21nperzu (checked 20 Nov 2026)
[^2]: https://github.com/passteque/gluetun/blob/master/README.md (checked 20 Nov 2026)
[^3]: https://github.com/passteque/gluetun/blob/master/LICENSE (checked 20 Nov 2026)
[^4]: https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md (checked 20 Nov 2026)
