Distribyted: Torrent client with on-demand file downloading as a filesystem
github.com
github.com
I regularly end up downloading torrents on a remote box, and then have to copy them to my local network. In an ideal world, I could run a torrent client at home and have it proxy though my vps so it doesn't leak my home IP.
The other way I can see it working is being able to add a torrent to both my vps and server at home, and have the torrent client at home only ever talk to the single remote box so I still end up with the torrent at home without leaking my home IP and without having to download the finished files as a second step.
If you're not a fan of the full setup there you could look at just the rclone part and have your torrent client move completed downloads into the folder you pulling using rclone
[1]: https://rclone.org/commands/rclone_move/
I realise this isn't quite what you've asked for but the direct answer would be to set up either a VPN or a proxy yourself, of which I have no suggestions or recommendations software/host-wise
I'd personally go off-guide and use rclone move rather than mounting it just to avoid having to keep bumping up storage space on put.io
e: hah you already got it
The incoming is straight-forward using your load balancer/reverse proxy of choice, it's the outgoing that's tricky.
Or, as you say, have two torrent daemons. I have'nt done this myself, but what I have in mind, a script that:
* Syncs torrent/magnet to remote (scp or syncthing) to your vm's torrent daemon's incoming folder
* Produces a new .torrent file that is added to your local client, with only the single peer. Ensure that PEX and DHT are disabled.
For this use-case you needn't care as much about leaking, as long as you take care of the above.
I could imagine that being a good setup if your home machine is already managing linux isos, and you want to download ... uh, your own linux iso ... from a VPS (i.e. a concession to the existing process, and not the BT protocol itself)
But be warned, your home internet, VPS, and/or VPN are all most likly all strongly tied to you. That is because you paid for them.
A VPS where you are the only user is a 1:1 mapping to you.
Then on the receiving side it just creates a sparse file and fill in the pieces using dd (so no dependencies on receiving side).
The sending speed was not very good. It could probably be improved by doing multiple transfers in parallel and using a less hacky way to transfers the data.
I made a docker container that has the torrent client and openvpn installed in it. All torrent traffic bounces off the VPN, and uses the VPN IP but I am still able to access the torrent client interface via the direct IP
github.com/anacrolix/torrent supports WebTorrent so it shouldn't be that hard.
[1] https://news.ycombinator.com/item?id=23818659 (HN: Libtorrent adds support for the WebTorrent protocol)
[2] https://www.bittorrent.org/beps/bep_0019.html (WebSeed - HTTP/FTP Seeding (GetRight style))
It doesn't change the fact that the "have access to my music/movie collection on anything with a browser" mentioned by the grand-parent is not what Syncthing does, and is not even close to what it does now or what the team is interested in implementing [1]. While it is a great piece of software (that I personally use), this recommendation was misguiding.
Have a good rest of your week.
[1]: https://github.com/syncthing/syncthing/issues/6753#issuecomm...
People have long described it as "Bittorrent inside a filesystem."