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?
you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago (2 children)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 1 year ago (1 child)
    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.

  • source
  • parent
  • hideshow 1 child comment