Arr, my friends. I have an old laptop already running some servoces on docker 24/7 at home and looking to extend it’s functionalities to become torrent downloader with media server for TV. Need VPN for obvious reasons.

I was wondering if there are already all-in-one solutions to just run docler compose file and get 2 containers: one running torrent client with all traffic via VPN in another?

I plan to use Mullvad VPN.

Upd. Updated title to highlight it’s a request. Not sure why getting downvotes, please elaborate :)

14 points

Use gluetun, look up how to configure for your provider. Run a 2nd container for your torrent client, using network_mode: “service:gluetun” to run all your traffic though the vpn. Note that if you’re forwarding ports from your client to e.g. access the web UI, you’ll need to forward them from the gluetun container instead.

permalink
report
reply
1 point

This is definitely the way to do it long term. I’ve used a hybrid download + VPN client but in the end I moved to a split gluetun + client since it offers the best flexibility.

permalink
report
parent
reply
10 points

If you want to use transmission as your torrent client I recommend checking out https://github.com/haugene/docker-transmission-openvpn . There are some additional configuration changes needed for mullvad but it should be straightforward.

permalink
report
reply
2 points

This is what I use and love it. Took a bit to get it configured properly with airvpn, but now it’s rock solid.

permalink
report
parent
reply
6 points

Just google “gluetun + qbittorrent”. There are some examples, but in short you want network_mode: "service:gluetun" and depends_on: -gluetun under qbittorrent so it doesnt have connection if gluetun fails.

Gluetun supports a lot of providers, documentation is decent and simple.

But consider airvpn or any other with port forwarding if you want to torrent. Mullvad ditched PF recently 😔

permalink
report
reply
1 point

Meaning no torrent downloads are possible? Or “just” no uploads?

permalink
report
parent
reply
2 points

Meaning both are possible, but its much better with port forwarding. You cant connect to everyone, but for well seeded torrents it shouldnt be an issue.

permalink
report
parent
reply
1 point

Thanks for recommendation, didn’t know Mullvad discontinued port forwarding. That was a reason I chose them a year ago.

Now will tale a look at ProtonVPN and AirVPN as alternatives.

Your answer is amazing, you covered it all and so concise, that should be on FAQ :)

permalink
report
parent
reply
6 points

My (almost finished) script creates a setup like this. It doesn’t just do a client + VPN, but it can also set up radarr, sonarr, jellyfin, and a couple of other services

https://gitlab.com/hyperspace_/lootarr

permalink
report
reply
3 points
*

Trash guides say you shouldn’t run the *arr’s through a VPN because you’re likely to get blocked by metadata servers. I only run my download client through the VPN + also use gluetun’s HTTP proxy for Prowlarr’s indexers

permalink
report
parent
reply
3 points
*

I wish I could do that as well, but most of the big public trackers are blocked where I live. I need to run Sonarr and the like through the VPN because I can’t search through the trackers otherwise

I haven’t heard of prowlarr’s HTTP proxy. Do you have a link to more info about it?

permalink
report
parent
reply
1 point

Sure, the docs are pretty minimal though: https://wiki.servarr.com/prowlarr/settings (just click on Proxy)

Basically you can configure a proxy (from your VPN provider for example) for each indexer (or font add a tag to apply it to all of them), and queries to indexers will run through there. This avoids Sonarr making calls to TVDB or whatever through the VPN and getting blocked.

permalink
report
parent
reply
1 point

This is a great work! Documentation is clear to a person not familiar with the topic (me). Will try that out and provide feedback, thank you!

permalink
report
parent
reply
2 points

I’m currently in the process of a complete rewrite. Once the v2 tag is out I can actually go into deeper feedback :)

permalink
report
parent
reply
6 points

No one-stop-shop that I have seen or heard of, but check out Gluetun. https://github.com/qdm12/gluetun

permalink
report
reply

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

!piracy@lemmy.dbzer0.com

Create post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others


Loot, Pillage, & Plunder


💰 Please help cover server costs.


Community stats

  • 5.7K

    Monthly active users

  • 3.1K

    Posts

  • 74K

    Comments