The Truecharts version of Qbittorrent has gluetun baked in as an option already. Initial configuration can be a bit of a pain depending on your VPN provider, but it seems to work beautifully once set up.
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
Using gluetun to connect my containers to Mullvad I'm getting 60+% of my bare network speeds.
Another option that doesn't achieve that performance is torproxy which can achieve a similar result.
I'm getting 60+% of my bare network speeds.
Check if your CPU usage is at 100%, its probably too much for your CPU just like mine. Getting 180-200 Mbps using gluetun and 320 without a VPN
But gluetun is the way 😉
I agree gluetun is de way 😂 unfortunately my CPU is nowhere near 100%
I can max out with qbit and ptotonvpn
Could be the VPN provider or the NAS (cpu)
I don't think that'll be a problem. I got a good CPU. The connection will is slowing me down
Using gluetun to connect my containers to Mullvad I'm getting 60+% of my bare network speeds.
Another option that doesn't achieve that performance is torproxy which can achieve a similar result.
Wait for the next month release of scale, it very surprisingly comes with jails. You install a Linux distro in a jail then run gluetun+qbit via docker
Truenas scale is just Debian isn't it? You shouldn't have any trouble with it, then. Though if you're using other network stuff like tailscale I would determine how the two are going to work together.
Personally I run everything under docker (not on truenas scale though) and I recently switched to gluetun and it worked perfectly the first time.
Truenas scale uses kubernets. Tailscale is more like a tunnel to my home servers so I can access the ports therefore the apps
I had someone help me set something similar up but I don't remember the exact details. Something like making the qBit user unable to use any interface but the TUN.
Yeah qbitorrent has this in their settings iirc.
Do ifconfig before VPN, then after. Identify what your VPN connection is (likely TUN0). Then you tell qbitorrent to ONLY use the VPN one.
That way if you suddenly lose VPN service it won't fall back to your actual IP. (This is how the guy that hacked ubiquity got caught).
I know about that setting, but this was different. It relies on Linux permissions. Like you have a dedicated 'user' for running qBit, and that user has no privileges for any network interface other than the VPN.
Sounds like network namespaces.
Yeah that rings a bell. Weirdly I woke up this morning to an abuse complaint from my hosting provider after years of no issues.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Fewer Letters | More Letters |
---|---|
IP | Internet Protocol |
NAS | Network-Attached Storage |
VPN | Virtual Private Network |
3 acronyms in this thread; the most compressed thread commented on today has 5 acronyms.
[Thread #662 for this sub, first seen 7th Apr 2024, 10:05] [FAQ] [Full list] [Contact] [Source code]