This seems like something that would be simple, but I spent a long time trying to figure it out. I figured I’d write a blog post about it in case anyone else has a similar desire.

  • originalucifer@moist.catsweat.com
    link
    fedilink
    arrow-up
    9
    ·
    4 days ago

    i found it very easy to grab a couple of pre-built containers… im using deluge and gluetun … im sure theres a transmission container out there also.

    setup your auth info in gluetun, point your deluge/trans container at gluetun for its network and youre done.

    • sonus@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 days ago

      I don’t know why, but I’ve always shied away from using docker. This does seem like an area where it would be particularly useful.

        • sping@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          Not at all. It allows you to install and use whole suites of tools and libraries without any pollution of or dependencies on your host system. It also allows you to define the whole setup in a file so it’s trivial to recreate on another machine

      • brenticus@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        This is what I use as well, although it was primarily out of laziness. Works well enough. I would say the Gluetun solution is a better recommendation, more robust and scalable, but the haugene container basically just works.

      • CHKMRK
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        I would rather recommend gluetun, it supports multiple VPN protocols and you can attach any container to it

  • WeirdGoesPro@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    Gluetun is the way. Get a transmission docker container, set up a gluetun docker container, set the gluetun container as the network for the transmission container.

    Viola, you have a perfectly working VPN with a kill switch.