this post was submitted on 01 Jul 2023
29 points (93.9% liked)

Selfhosted

40733 readers
391 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

So, I've recently started torrenting more, but I wanted to be safe about it, or a safe as can be.

I already have a PIA subscription from like 3 years ago on a Christmas sale.

I would like to continue using Docker, as I have been.

I know there are docker images of qBittorrent with VPN included, but I have PIA set up with the "Gluetun" docker image, so that if I wanted to, I could run other containers through it rather easily.

So, I'm using PIA with Gluetun image, and the standard qBittorrent image that is being funneled through Gluetun. I'm using Portainer and Portainer Stacks to manage my docker environment. I'm also using a PIA server in CA Vancouver, as far as I can tell, that server allows port forwarding as well as seeding.

My problem is I can't seem to seed anything. Can any of y'all help me get properly set up for seeding as well as torrenting?

If you need any more info or screenshots, let me know!

Also, I am actively looking and researching to try to fix it, but work is a pain right now. I'll update if I manage to figure it out.

Thank you in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] koinu 1 points 2 years ago (1 children)

I added the VPN_PLRT_FORWARD command on the Gluetun container. It gave me a port. I added that to qbit, and it seemed to work! I'm now wondering why the speeds are so slow though? My download is at upwards of 15MB/s, but the uploads are in the KBs and Bs. I know other people leeching affect the speed, but I figured it has to be faster than that right? Do you think I did something wrong?

I'm going to try with a Linux distro to see if it's my set up, or just the torrent themselves.

[–] darcmage 1 points 2 years ago* (last edited 2 years ago) (3 children)

PIA upload is definitely faster than that. It doesn't saturate my connection but I've seen it upload at 5MB/s+ at times. Are you sure you have the right options for the gluetun container as shown in the wiki? You'll see the port PIA assigns you in the logs. Testing with a linux iso probably won't help much since the ratio of seeders/leechers is high. Try a popular newly released torrent instead.

[–] koinu 1 points 2 years ago

At this point, I'm not sure of anything! Haha

I'm doing so much reading from different sources, I'm starting to get everything mixed up now.

Checking the wiki for Gluetun, I used that exact docker compose that they suggested, but added the port for qBittorrenr, so I can access the webUI. (And also now added the "port forward" variable)

I'm very lost right now, and unless you're willing to walk me through it, I think imma start from scratch and hopefully learn something new along the way.

Thanks so much for helping me so much!

[–] koinu 1 points 2 years ago (1 children)

So I just tried a torrent from nyaa.si that had hundreds of seeders and hundreds of leechers.

After it finished downloading, the upload speed has fluctuated from 900kb/s up to ~1.52mb/s. Way better than before, but still feels slower than it should? Idk.

[–] darcmage 3 points 2 years ago (1 children)

I think you can consider the issue solved at this point.. Last thing to check is the cpu usage while the torrent is active. If it's being pegged, that could limit your speeds.

[–] koinu 1 points 2 years ago (1 children)

Awesome. Thank you so much for your help!

I gotta figure out how to check CPU usage on a headless Linux environment lol.

[–] darcmage 5 points 2 years ago