this post was submitted on 14 Apr 2023
13 points (88.2% liked)
Piracy
22373 readers
8 users here now
Welcome to /c/piracy
No netflix or streaming services landlubbers allowed, this is pirates territory.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Newbie question for you. I’m in the process of building myself a server for the first time after running Jellyfin on my computer for a while. One issue I had on my computer is every time I have my VPN connected to download content, my server is unavailable. How does this work on a server?
I'm also going to recommend gluetun. It lets you run any docker through the VPN. I use it for grey areas, like Prowlarr or slskd.
It works by creating a new network adapter that can only access the VPN. If your VPN expires or otherwise goes down, all of your services stop.
https://github.com/qdm12/gluetun
I also dropped an example config in another comment.
Use this qbittorrent docker image, which works with VPNs:
https://github.com/binhex/arch-qbittorrentvpn
Thanks!
So it basically only routes your torrent client through the vpn instead of your whole system?
Yep. It even exposes the web ui, only the torrenting is behind your vpn.
Oh wow that’s great. I had been hoping to find something like that! Thanks!
You can have multiple routes. If you put your download software in one network namespace which only has the route via VPN to the internet (default / 0.0.0.0 / ::) you can make sure that it always downloads via VPN. You can still provide services via another route. To be 100% sure I'd also use a firewall for this.
Is that the inbuilt kill-switch of your VPN? Which VPN software do you use, which provider?
Thanks for the explanation. Hopefully I can figure all that out when the time comes.
“Is that the inbuilt kill-switch of your VPN? Which VPN software do you use, which provider?”
To be clear I meant remote access and access on other devices. So I can still access my JellyFin server on my computer when my vpn is connected, but if I try to access it on my TV or outside my home network it tells me the server is down. I’ve always assumed it’s just because the vpn is hiding my actual ip that my server is connected to so other devices can’t see it.