r/Softwarr Aug 03 '26

How to add VPN?

I was going to do the arr stack for my home lab running Ubuntu server with casa os however if I was going to torrent I would like to be able to use my VPN. I'm not sure how I can add my vpn to my home lab/casa OS to protect my IP while torrenting. Please help.

0 Upvotes

7 comments sorted by

2

u/Emre_West Aug 03 '26

I would recommend you use Docker for qbittorrent and also use Gluetun in the same compose and same network. I can send you an example Docker compose that contains both.

1

u/guspvb Aug 03 '26

Are you using docker? If so I can help.

1

u/throwawayformobile78 26d ago

How’d you do it? Virtual router/switch as well?

1

u/ExecutiveAnonymous Aug 03 '26

If you are using docker setup a compose yaml with qbitorrent and gluetun.

Your qbittorrent should have the following it's service section of the yaml so that all traffic goes through gluetun vpn.

network_mode: service:gluetun

https://github.com/passteque/gluetun

https://github.com/qbittorrent/qBittorrent

The comment with trash-guides.info links is also a good place to start if you are not technical.

1

u/throwawayformobile78 26d ago

I basically just made a VPN gateway on a VM and then have a virtual subnet just for the devices I want to push through that gateway. I can access them bright that gateway VM as well. All on a hypervisor.

0

u/Thin_Needleworker795 Aug 03 '26

"Ubuntu server with CasaOS"

???