this post was submitted on 25 Aug 2023
119 points (97.6% liked)

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

54803 readers
953 users here now

⚓ 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

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
top 19 comments
sorted by: hot top controversial new old
[–] roofuskit@kbin.social 15 points 1 year ago (1 children)

There's already a pretty recent post about this on the threadiverse. I recommend checking the discussion there as lots of us are not likely to repeat our comments.

https://programming.dev/post/1123951

[–] anzo@programming.dev 2 points 1 year ago

Thanks for adding this. (I think I used the crosspost button on the desktop PC... yet, indeed, in my Lemmy client on mobile I'm not seeing the reference).

[–] DengueDucky@lemmy.ml 8 points 1 year ago (2 children)
[–] roofuskit@kbin.social 24 points 1 year ago (1 children)

The container connects to the VPN and only the VPN, now you can route whatever docker containers you want through that container as a network. Now that one VPN connection can serve any container you want.

[–] DengueDucky@lemmy.ml 6 points 1 year ago (1 children)

That's pretty cool. I might have to set it up this weekend.

[–] roofuskit@kbin.social 2 points 1 year ago (1 children)

I am a very big fan. Just be careful which provider you try to use with it as not all are created equal. I have had good luck with AirVPN.

[–] whereBeWaldo@lemmy.dbzer0.com 2 points 1 year ago

I can also +1 that, getting the OpenVPN key and cert was a bit complicated but other than that there weren't any issues with AirVPN whatsoever.

[–] eratic 7 points 1 year ago* (last edited 1 year ago) (3 children)

I use gluetun to route traffic from some of my containers that need a VPN. qBittorrent, Jackett etc. Some containers dont have the option to configure a proxy so you'd have to setup a VPN client within a container which isn't ideal. With gluetun its easy to attach a container to it and it just works

[–] Artaca@lemdro.id 1 points 1 year ago

Neat. I never need a VPN for more than a few days at a time, but if I ever sub to one long term I'll keep this in mind.

[–] sylverstream@lemmy.nz 1 points 1 year ago

Good point about Jackett! I had only set up qbittorrent to use vpn.

[–] anarchrist@lemmy.dbzer0.com 1 points 1 year ago (1 children)

Why isn't it ideal? I'm currently using this setup with containers routed through a gluetun container connected to a vpn via wireguard, and it seems to be working fine. I've verified using curl inside the relevant containers to query an IP checker and I've also used a torrent IP checker to confirm my torrent client isn't leaking my IP.

[–] conciselyverbose@kbin.social 5 points 1 year ago (1 children)

I think he's saying that manually configuring all the containers (without this tool) isn't ideal.

[–] anarchrist@lemmy.dbzer0.com 2 points 1 year ago (1 children)

Oh sure yeah it did suck 😁

[–] eratic 3 points 1 year ago

Also the biggest benefit; You only need 1 VPN connection and 1 key pair for gluetun to connect everything. Most VPN providers limit the amount of active simultaneous connections. If you have lots of containers that need it then it's not possible

[–] sirico 4 points 1 year ago

Best way to run containers through a VPN imo super easy in unraid

[–] VentraSqwal@links.dartboard.social 2 points 1 year ago (1 children)

I've spent all today and yesterday trying to get this working with PureVPN and QBitTorrent and it hasn't been working much at all 😭. It's been painfully slow when it works at all, which has been rare. Although it has been doing the job of hiding the Docker container IP so that's good, and it makes me think it's something minor, like port forwarding not working because of PureVPN or something off with my settings, or it's a qBittorrent issue, or Docker and Linux inexperience.

Admittedly troubleshooting has been slow because I'm super new to Linux and Docker and keep running into permission and file system issues. Running the VPN and torrent straight in my computer was way easier, but I'd really love to be able to run Plex and a torrent client on the same computer on at the same time with Plex not going through the VPN and the torrent client going through it, which is what this seems great for.

[–] sylverstream@lemmy.nz 3 points 1 year ago (1 children)

I've set it up with PrivadoVPN without issues, using Docker. Gluetun in its own docker container and Qbittorrent in its own, with network mode set to use the Gluetun contaoner. Haven't tested downloading a lot though. Gluetun has some good docs how to set it up in Docker.

[–] VentraSqwal@links.dartboard.social 1 points 1 year ago (1 children)

Maybe it's my VPN provider then. I'll have to try it with another one. I've followed so many of those documents. Do you use Port Forwarding with PrivadoVPN?

[–] sylverstream@lemmy.nz 1 points 1 year ago

GlueTun doesn't support port forwarding for PrivadoVPN, so no.