I honestly can’t get my head around this. I have a machine with Linux (endeavouros), and docker with a few containers. Since I want all the traffic from this system to go through the VPN, do I need to set up gluetun? I think not, but I am not 100% sure…

  • @GreenKnight23
    link
    English
    25 hours ago

    I’ll ask this question because it might be something you didn’t think of.

    What happens to your network connection if the VPN fails? will it continue to connect without a VPN?

    I had a similar case of that happening, and ended up causing me to get some shame mail from my ISP.

    now I run my VPN inside docker, and any containers that need access to it are configured as network slaves to it. VPN goes down? container reboots, all the others reboot after connection is restored, but will have no connection while it’s down.

    it’s all in a well designed system of healthchecks and container configuration.

  • @[email protected]
    link
    fedilink
    English
    5
    edit-2
    11 hours ago

    It’s convenient if you want to see gluetun up as the only way a container (say, your torrenting container) can get to the open net, in the interest of avoiding getting directly pinged by DMCA rats. That way, if the VPN goes down, your torrent client isn’t just downloading stuff nakedly. Also, if you want to set up different VPN connections for different containers, it’s pretty easy to set a handful of replica containers for that too.

    • @kitnaht
      link
      English
      2
      edit-2
      10 hours ago

      That way, if the VPN goes down, your torrent client isn’t just downloading stuff nakedly.

      You always just bind the torrent client to the VPN adapter so this doesn’t happen. Most modern clients have this (qBittorrent certainly does)

      • @[email protected]
        link
        fedilink
        English
        210 hours ago

        Oh yeah you can do it that way too, but if you want it all containerized, that’s roughly how to do it. That’s all I meant.

  • LifeBandit666
    link
    fedilink
    English
    212 hours ago

    I ran a Linux VM and just had Mullvad app installed and always on, and that was all I needed