this post was submitted on 22 Aug 2023
28 points (96.7% liked)

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

54476 readers
718 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 1 year ago
MODERATORS
 

Hello people I have a Jellyfin server running on an Ubuntu laptop. But I am also using Mullvad VPN on that laptop for torrenting purposes. Is there a way that I can access the Jellyfin server from another computer in my home network and keep the VPN running at the same time?

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 1 year ago (1 children)

No need to split tunnel. Mullvad has options in the app to allow local networking. Just have to enable it.

[–] [email protected] 4 points 1 year ago

Oh didn't know about that, very convenient thanks

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Since mullvad doesn't support port forwarding anymore, you'll want to split tunnel it outside of the vpn. However, if you're considering switching vpn's at all, airvpn has a dynamic dns service (and port forwarding) which you can set up to have a static url for your jellyfin.

Just be sure to enable the DLNA server and allow remote connections in the jellyfin settings either way.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Probably if you split tunnel the vpn connection from mullvad to your torrent application and not run the vpn for the entire laptop's network stack this could be done.

Alternatively, dockerize the entire vpn+torrent (+jellyfin) setup? That way the container gets the vpn but you can still access using your host ip for jellyfin.

[–] [email protected] 2 points 1 year ago (2 children)

Seconding dockerizing the torrent client with a VPN. My approach was using a gluetun container (https://github.com/qdm12/gluetun) and pointing qbittorrent to use that container's network adapter

[–] [email protected] 1 points 1 year ago (2 children)

I've been hearing a lot about it but never tried it, have some experience with docker through uni work but what would be the advantages of using a container for torrents?

[–] [email protected] 1 points 1 year ago (1 children)

The biggest advantage is ease of setup and its recommended by many guides, especially if you are interested in *arr stack (google "servarr wiki" - next level torrenting).

For VPN and torrenting, Id suggest switching to airvpn or any other that supports port forwarding (mullvad got rid of it recently).

If you setup torrent client and VPN using gluetun container, you can hide trafic for torrents only (or whatever services you want). Then you can install wireguard server and use that to connect remotely to your jellyfin. At least I have it like that

[–] [email protected] 1 points 1 year ago (1 children)

Thanks I'll look into it, also what are the advantages of being able to do port forwarding via VPN?

Also do you know any good tutorials on setting this stuff up as I have limited experience on containers and stuff?

[–] [email protected] 1 points 1 year ago (1 children)

Port forwarding = better connection = more upload. Im no expert, but without PF you cant connect to everyone. Its kinda important for any proper private tracker, but you can use torrents without one. I like mullvad a lot, but airvpn cost even less and have PF, so easy decision to switch.

Yeah servarr wiki. Well starting with containers and setting everything up was a lot of work for me, but deffo worth it. Next level of torrenting/media server, I would never go back.

You basically install docker and docker-compose, then you can install portainer (also docker container) and use it to install everything else in a user friendly gui. You fill your yaml file with all settings for sonarr, radarr, prowlarr, qbittorrent, etc, and just load it in portainer stacks.

[–] [email protected] 1 points 1 year ago

Thanks for the answer, I'll look into setting them up when I get home

[–] [email protected] 1 points 1 year ago

I'm planning on doing this personally, as my setup is a bit complex (Protonvpn doesn't have port forwarding on wireguard supported very well on Linux, so I have some helpers running that make it work). Setting this up each time (and on each computer I want to torrent on) is a bit of a pain. If you do all of your setup and dockerize it, you can just pull the container on each new install/machine (0 setup)

[–] [email protected] 1 points 1 year ago (1 children)

can also look into haugene/docker-transmission-openvpn

it's transmission that won't run unless it's connected to the VPN

[–] [email protected] 1 points 1 year ago

That's a cool kill switch implementation, thanks for the repo. I tested my qbittorrent setup by shutting down the VPN container and it stopped all network connections in the qbit container

[–] [email protected] -2 points 1 year ago (1 children)

Only The title makes me suffer already.

[–] [email protected] 5 points 1 year ago (1 children)

Well sorry didn't know how to word it better as english isn't my native language

[–] [email protected] 8 points 1 year ago

I'm an English native, and I don't see an issue with the title. I understood what you are saying perfectly fine