this post was submitted on 22 Jun 2023
3 points (80.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1036 readers
10 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
 

I am running Ubuntu Server with Plex, qBittorrent-Nox, and CyberGhost. I want to route qBittorrent through the CyberGhost VPN, but not Plex.

I have never used Docker, but from what I gather online, it seems like the containers operate like little VM’s for compartmentalization and resource allocation. If that is correct, would I be able to put qBittorrent-Nox and CyberGhost into the same docker container to route qBittorrent-Nox through the VPN while Plex runs outside the VPN in its own snap?

Thanks for the help!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

A bit of a late reply, just found this community!

I use https://hub.docker.com/r/qmcgaw/gluetun for my VPN container and https://hub.docker.com/r/linuxserver/qbittorrent for qbittorrent. In the qbittorrent compose file I added network_mode: "container:gluetun" and in the qbittorrent webgui I bound it to tun0 for my network interface. If you prefer a GUI to compose files, DBTech has a nice video using Portainers GUI to set it up https://www.youtube.com/watch?v=xbSfaKwyfXE alternative invidious link https://www.yewtu.be/watch?v=xbSfaKwyfXE