Skip Navigation

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

github.com GitHub - qdm12/gluetun: 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.

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. - GitHub - qdm12/gluetun: VPN clien...

GitHub - qdm12/gluetun: 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.

This project has saved me so many headaches, I highly encourage people to go and check it out if you need a VPN in a docker container, its written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.

8

You're viewing a single thread.

8 comments
  • I could never get this to work properly with AirVPN and qbittorrent.

    • He has the full guide of all that needs to be filled out + docker-compose file here; https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/airvpn.md

      • That's the guide I used. I kept losing connection to the web UI of qbittorrent. I'm using the hotio.dev image now.

        • I used to use hotio, but after I saw that Tailscale docker mods are only supported by Linuxserver.io images, I have switched to the across the board. I also think it's good to use images that are better/longer supported.

          • Do you have a docker compose you can show me?

            • I am assuming you meant the setup of what was discussed in this thread a d not how to change just were the image is pulled from?

              Gluetun /w Wireguard and Tailscale

              ---
              version: '3'
              services:
                gluetun:
                 image: qmcgaw/gluetun
                 container_name: gleutun-exitnode
                 restart: unless-stopped
                 cap_add:
                  - NET_ADMIN
                 environment:
                    - UPDATER_PERIOD=24h
                    - TZ=Europe/Stockholm
                    - VPN_SERVICE_PROVIDER=custom
                    - VPN_TYPE=wireguard
                    - VPN_ENDPOINT_IP=
                    - VPN_ENDPOINT_PORT=
                    - WIREGUARD_PUBLIC_KEY=
                    - WIREGUARD_PRIVATE_KEY=
                    - WIREGUARD_ADDRESSES=
                 devices:
                  - /dev/net/tun:/dev/net/tun
                 volumes:
                  - /docker/appdata/gluetun:/gluetun
                tailscale:
                 container_name: tailscale-exitnode
                 cap_add:
                    - NET_ADMIN
                    - NET_RAW
                 volumes:
                    - /docker/appdata/tailscale/var/lib:/var/lib
                    - /dev/net/tun:/dev/net/tun
                 network_mode: "service:gluetun"
                 restart: unless-stopped
                 environment:
                    - TS_HOSTNAME=exitnode
                    - TS_AUTHKEY=
                    - TS_EXTRA_ARGS=--advertise-exit-node --ssh
                    - TS_NO_LOGS_NO_SUPPORT=true
                    - TS_STATE_DIR=/var/lib
                 image: tailscale/tailscale
              
You've viewed 8 comments.