No description
  • Go 99.5%
  • Dockerfile 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-29 12:59:28 +00:00
.devcontainer chore(dev): set go build tag to linux in the podman devcontainer 2026-11-20 02:09:29 +00:00
.github chore(ci): remove passteque/gluetun from ignored patterns for markdown link checking 2026-11-24 16:59:00 +00:00
.vscode feat(socks5): UDP proxying (#3353) 2026-06-11 15:32:38 +02:00
ci feat: upgrade Go from 1.26 to 1.27 2026-11-20 02:08:54 +00:00
cmd/gluetun hotfix(config): allow openvpn version 2.7 and remove version 2.6 (not present anymore) 2026-11-28 22:42:37 +00:00
devrun feat: upgrade Go from 1.26 to 1.27 2026-11-20 02:08:54 +00:00
doc Documentation: Move sections to Wiki 2021-01-08 02:24:15 +00:00
internal hotfix(openvpn): adjust flags for OpenVPN 2.7 2026-11-29 12:59:28 +00:00
metrics feat(metrics): add metrics/grafana.json dashboard 2026-09-12 17:39:09 +00:00
.dockerignore feat(devrun): add initial implementation of devrun tool 2026-05-02 05:07:10 +00:00
.gitignore feat(wireguard): amneziawg implementation (#3150) 2026-03-11 14:55:28 +01:00
.golangci.yml chore(lint): enable extra rules for staticcheck 2026-11-24 16:58:21 +00:00
.markdownlint-cli2.jsonc chore(ci): ignore .github/pull_request_template.md with markdown linter 2025-10-19 23:23:41 +00:00
AGENTS.md chore(dev): update AGENTS.md with new points 2026-11-12 03:59:23 +00:00
Dockerfile hotfix(openvpn): adjust flags for OpenVPN 2.7 2026-11-29 12:59:28 +00:00
go.mod fix(dns): rcode from upstream preserved 2026-11-20 16:28:33 +00:00
go.sum fix(dns): rcode from upstream preserved 2026-11-20 16:28:33 +00:00
LICENSE Reworked labels, readme and added License 2018-10-29 16:32:11 +01:00
maintenance.md docs(maintenance): clear up some finished items 2026-05-24 20:18:27 +00:00
README.md docs(readme): use absolute URL for svg so it works on Docker Hub 2026-11-24 16:58:38 +00:00
title.svg docs(readme): divulge the new logo 2026-09-23 11:14:05 +00:00

Gluetun VPN client

Lightweight swiss-army-knife-like VPN client to multiple VPN service providers

⚠️ This and gluetun-wiki are the only websites for Gluetun, other websites claiming to be official are scams ⚠️

Title image

Build status

Docker pulls qmcgaw/gluetun Docker pulls qmcgaw/private-internet-access

Docker stars qmcgaw/gluetun Docker stars qmcgaw/private-internet-access

Last release Last Docker tag Last release size GitHub last release date Commits since release

Latest size

GitHub last commit GitHub commit activity GitHub closed PRs GitHub issues GitHub closed issues

Code size GitHub repo size Go version

Visitors count

Features

  • Based on Alpine 3.24 for a small Docker image of 53.8MB
  • Supports: AirVPN, Cyberghost, ExpressVPN, FastestVPN, Giganews, HideMyAss, IPVanish, IVPN, Mullvad (Wireguard only), NordVPN, Privado, Private Internet Access, PrivateVPN, ProtonVPN, PureVPN, SlickVPN, Surfshark, TorGuard, VPNSecure.me, VPNUnlimited, Vyprvpn, Windscribe servers
  • Supports OpenVPN for all providers listed
  • Supports Wireguard both kernelspace and userspace
    • For AirVPN, FastestVPN, Ivpn, Mullvad, NordVPN, ProtonVPN, Surfshark and Windscribe
    • For Cyberghost, Private Internet Access, PrivateVPN, PureVPN, Torguard, VPN Unlimited and VyprVPN using the custom provider
    • For custom Wireguard configurations using the custom provider
    • More in progress, see #134
  • Supports AmneziaWG only with the custom provider for now
  • DNS over TLS baked in with service provider(s) of your choice
  • DNS fine blocking of malicious/ads hostnames and IP addresses, with live update every 24 hours
  • Choose the vpn network protocol, udp or tcp
  • Built in firewall kill switch that only allows traffic through the VPN, to the VPN server, and to allowed LAN devices
  • Built in Shadowsocks proxy server (protocol based on SOCKS5 with an encryption layer, tunnels TCP+UDP)
  • Built in Socks5 proxy server (tunnels TCP+UDP) - partial credits to @angelakis and @adjscent
  • Built in HTTP proxy (tunnels HTTP and HTTPS through TCP)
  • Connect other containers to it
  • Connect LAN devices to it
  • Compatible with amd64, i686 (32 bit), ARM 64 bit, ARM 32 bit v6 and v7, and even ppc64le 🎆
  • Custom VPN server side port forwarding for Private Internet Access, PrivateVPN and ProtonVPN
  • Possibility of split horizon DNS by selecting multiple DNS over TLS providers
  • Can work as a Kubernetes sidecar container, thanks @rorph

Setup

🎉 There are now instructions specific to each VPN provider with examples to help you get started as quickly as possible!

Go to the Wiki!

🐛 Found a bug in the Wiki?!

Here's a docker-compose.yml for the laziest:

---
services:
  gluetun:
    image: qmcgaw/gluetun
    # container_name: gluetun
    # line above must be uncommented to allow external containers to connect.
    # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-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:
      - /yourpath:/gluetun
    environment:
      # See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
      - VPN_SERVICE_PROVIDER=ivpn
      - VPN_TYPE=openvpn
      # OpenVPN:
      - OPENVPN_USER=
      - OPENVPN_PASSWORD=
      # Wireguard:
      # - WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU=
      # - WIREGUARD_ADDRESSES=10.64.222.21/32
      # Timezone for accurate log times
      - TZ=
      # Server list updater
      # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
      - UPDATER_PERIOD=

🆕 Image also available as ghcr.io/qdm12/gluetun

Fun graphs and badges

passteque/gluetun | Trendshift

Star History Chart

License

MIT