this post was submitted on 01 Jul 2023
26 points (93.3% liked)

Selfhosted

39435 readers
2 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 1 year 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
[–] [email protected] 2 points 1 year ago (8 children)

I have the same setup but with transmission instead of qbittorrent. Make sure you map the listening port of qbittorrent to the forwarded port from pia in gluetun.

[–] [email protected] 1 points 1 year ago (7 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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 1 points 1 year 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!

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 3 points 1 year 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.

[–] [email protected] 1 points 1 year 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.

load more comments (3 replies)
load more comments (3 replies)