Comment on Route outgoing traffic of a docker bridge network through VPN
d00phy@lemmy.world 1 week agoThis was my thought as well. Anything by that requires VPN is added to that stack and if I can bind it to the “tun” device I do - but the container requires gluten to be up.
d00phy@lemmy.world 1 week ago
So I got back to my server, and here’s what I do:
gluetun settings:
qbittorrent (in the same compose.yml):
Also, in qbittorrent settings you can bind it to a network device. In my case it’s “tun0.” This same thing can probably be done w/ a docker network in a gluetun container and separate containers that rely on that network being up, but I haven’t looked into it. Right now, I have 2 other services that require VPN, and I’m looking at possibly 1 or 2 more. That’s pretty manageable as a single stack, I think.