Occasionally I see people mention gluetun.

  • What’s gluetun? Seems like it’s a VPN client? What’s special about it?
  • How do you use it in your setup?
  • Do I need to know about this if I use Tailscale on the host for connecting to my VPN?
  • Would gluetun allow me to use an additional VPN provider for certain apps without messing with the host Tailscale?
  • null_dot@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 hours ago

    I’d seen gluetun mentioned but didn’t know what it was for until a moment ago.

    I’ve heard of tailscale and at least know what that does but never used it.

    I personally have a mullvad subscription. I have a container connected to that with wireguard, and then for services I want to use that VPN I just configure them to use the network stack from that container.

    I’m not suggesting that my way is the best but it’s worked well for several years now.

    • eleijeep@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      I just configure them to use the network stack from that container.

      Can you explain how you do this (or link to a guide that you found useful)? Thanks

      • null_dot@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        7 hours ago
        services:
          qbittorrent:
            image: lscr.io/linuxserver/qbittorrent
            container_name: qbittorrent
            environment:
              - PUID=888
              - PGID=888
              - TZ=Australia/Perth
              - WEBUI_PORT=8080
            volumes:
              - ./config:/config
              - /srv/downloads:/downloads
            restart: unless-stopped
            network_mode: "container:wg_out"
        

        this is my compose.yml for a qbittorrent instance.

        the part you’re interested in is the final line. There’s another container with the wireguard instance called “wg_out”. This network mode attaches this qbittorrent container to that wireguard container’s network stack.

    • rowinxavier@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      That is essentially what gluetun does. It is a little simpler to set up given that it is all preinstalled and you just select your provider and details and it is done. And again, you just specify the network for other containers to use the gluetun service and it is done. Very simple, easy for using many services through one VPN connection, and available on things like CasaOS with simple setup.