You could make a container for the VPN and have the torrents route through that. Instead of having the whole system go through the VPN. You can then also make the VPN a dependency of the torrent container to prevent it from leaking torrent traffic out of your standard internet connection.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Gluetun is the answer! Just setup the gluetun container, then for the other containers do network_mode: "container:gluetun", and it'll route all of it's traffic through gluetun
How would one do that if they had basic Linux knowledge but have not really touched docker? Asking for a friend and for his educational purposes only :)
I believe you can just set vpn in qbittorrent, but Im not sure is it acting like real kill-switch or you are risking your home IP leak. So not recommended probably. If you go recommended docker way, you can do it easily with gluetun. There must be many other options out there, but be careful, not all of them are acting like a real kill switch.
Anyway, tell your friend its not hard to start with docker, you need portainer and youtube 😜
Ah yes, the eternally helpful answer of “look it up yourself” which absolutely encourages people to partake in communities and ask questions when they see things that make them curious
I use this guy https://github.com/haugene/docker-transmission-openvpn
Open up the transmission rpc port and you're golden. It also sets up a proxy for any other services/devices you want to run through the VPN. Supports port forwarding for PIA too.
Sure, but im using this setup only for downloading so it doesnt really matter to me. Everything works fine so i stoped tinkering at some point and i just let it work.
OP be careful nobug warned you that your home IP can maybe leak if something happens like VPN disconnect or server crapping out. Btw if you are using torrents you are not only downloading, you are also uploading and sharing the content.
I checked the guide, and its a shame you didnt make it before I was building my arr setup. Thx for sharing
If you're using torrents you aren't only downloading...
nice little guide, i'm surprised your pi can run the media servers though without being really slow. i'd also suggest using an alternate webui for qbittorrent if you're only interacting with it through the webui. i like https://github.com/WDaan/VueTorrent
This is brilliant.
Thanks Wojtek!
Thx!