Torrent LXC Container with VPN

Hello to everyone. I am new to Proxmox and I was looking online for any solutions to this problem, but without success. Until this moment I have tried with a LXC Docker container with Portainer to pass-through two different docker containers - one qBittorent and the other was a VPN. This solution was too janky for me had problems with it.I would be really thankful if someone knows or is there a ready guide for either:Option 1: Creating a LXC container with qBittorent and a VPN in it ( to boot automatically on container startup)Option 2: Creating two LXC containers - qBittorent and VPN (Wireguard or OpenVPN) and passing the qBittorent through the VPN container

Thank you very much in advance for the help!

Use this. It’s a docker container of qbit with a built in VPN - no need to run them separately.

What you need to do is set up a new container with both qBit (or whatever torrent client you like) AND your VPN software of choice.

Both pieces of software need either a WebUI or be capable of doing everything via CLI.

Probably not as helpful as you’d like, but I have this setup on my raspberry pi running debian bookworm; qbittorrent and pia VPN which starts at boot. qbittorrent binds to the VPN network and can’t download without it. So, it should be doable if you create an LXC container running debian, and then manually install the required components. I actually followed a qbittorrent guide from pimylifeup.

You might be wondering why I’m on this sub then; I have Home Assistant, pihole and the whole ‘arr’ software collection running in Proxmox on a different device. I could run the download client there too, but switching Plex from one device to another is too much of a hassle for me.

This news can be helpful: https://lemmy.blahaj.zone/post/2728889

Sorry for the stupid question but do you have a guide or similar on how to install this with docker? First time lol

That is literally what they said in the prompt

if someone knows or is there a ready guide for either:Option 1: Creating a LXC container with qBittorent and a VPN in it ( to boot automatically on container startup)

I’m not sure what you are trying to say as it doesn’t make sense. You don’t passthrough containers.

Sorry for not specifying it correctly. I am using the same docker network as my VPN container uses ( in Portainer is in the Advanced settings → Network → Network [container])

Thank you for the suggestion, I will try to make an LXC container and install the VPN and torrent client in it.

Would be interested to learn more about your organization of the various __arr services and whether they are suited to run on the same LXC/VM plus how you organize storage (shared or not) among your plex server and other resources, ie native PVE storage or nextcloud/openmediavault/othe.

Thanks in advance!

yep. couple of videos + the wiki

https://wiki.serversatho.me/en/qBittorrent

https://youtu.be/DPkw_RbyQF8

I’m running them in separate containers. My hard disks are external network drives (smb on a RPI) which I’ve added to each container as mounting points.

Ahh, I see. So there aren’t any issues with the SMB disconnecting when the PVE host reboots because it’s on the RPi.

I have OMV in an LXC for my SMB drive and instead of mount points, I have the containers privileged so they can mount from /etc/fstab though this isn’t ideal.

I have a spare RPi I could dedicate to SMb. Are you using anything special to add redundancy of your media files?

Correct on your first point

If my NUC or RPI fails, I’m screwed :')

I do use SSD’s and avoid using SD cards. Redundancy is something for the future perhaps. I’m not actually an IT guy, but things just slowly evolved to where I’m at right now.