- 3 Posts
- 246 Comments
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I securely host Jellyfin? (Part 2)English3·4 days agoI still find it hilarious that since dd-wrt and OpenWrt are just… Linux, you could install Super Mario Bros on there. I checked, nobody seems to have tried.
Oh, definitely, but there are varying degrees of difficulty, esp. with what kinds of packages / package management you have available :D
Ah, that make sense. Is Wireguard P2P?
Yes, in the sense that each node/device is a peer. But the way I’d suggest you configure it in your case is more akin to a client/server setup - your devices forward all traffic to the “server”, but it never takes initiative to talk “back” to them, and they do not attempt to communicate with each other. Unless you have a separate usecase for that, of course.
You both are perfect for each other, so don’t screw it up!
❤️
Closing in on 8 years
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I securely host Jellyfin? (Part 2)English3·4 days agoI’m actually surprised nobody suggested simply using the Pi with OpenWrt as my own router. Though, that would make it hard to host Jellyfin.
A brief internet search shows that surprisingly, hosting Jellyfin on OpenWRT should work… No idea how well though. Come to think of it, having OpenWRT on the pi might make it a lot easier to configure, with graphical settings available and so on.
Could you explain Wireguard vs. Tailscale in this scenario?
I’ve never used tailscale, I’m afraid. Normally I would say: just use whatever seems easier to set up on your device/network; however, note that tailscale needs a “coordinate server”. No actual traffic ever goes through it, it just facilitates key exchanges and the like (from what I understand), but regardless, it’s a server outside your control which is involved in some way. You can selfhost this server, but that is additional work, of course…
Thank you all so much for your help! This is likely the solution I will go with, combined with another one, so again thank you so much!
Glad I could help, after being so unhelpful yesterday :)
P.S. I don’t care if you wrap an ethernet cord around her finger, get going!
Eh… Marriage is not really common in either of our families. We agreed to go sign the papers if there ever is a tax reason, lol. Sorry if that’s a bit unromantic :D Nice rings though ^^
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I securely host Jellyfin? (Part 2)English13·4 days agoHi again.
How about the following idea:
Set up ProtonVPN on the raspberry pi.
On all other devices (or at least those you want to use Jellyfin on), switch from using Proton to using Wireguard. Unlike your phone, the raspberry pi has no trouble running multiple VPNs. I think the ProtonVPN limitations in regard to not allowing split tunneling don’t apply here, since all outgoing traffic will still go via Proton.
Essentially, the Pi would function as a proxy for all of your traffic, “and also” host Jellyfin. You would still connect to http://192.168.20.10:8096/ (or whatever) on your devices, but that address would only resolve to anything when you are connected to the pi via Wireguard. No HTTPs, but “HTTP over Wireguard”, if you will.
Nots that this requires you trusting the pi to the same degree that you trust your phone.
For your static devices (PC, TV) this should solve the problem. Devices which you take with you, like your phone, unfortunately will loose internet connectivity when you leave your home until you switch off Wireguard, and switch on Proton, and not be able to connect to Jellyfin when you return home, until you switch them back.
Essentially, you would have a “home” VPN and a “on the go” VPN, though you never need to connect to both. There might be ways to automate this based on WiFi SSID on Android, but I have not looked into it.
The Pros:
- this should meet all your requirements. No additional expenses, no domain, no dynDNS; no selfsigned certificate or custom CA; traffic is never unencrypted; works on all common devices.
- Wireguard is sufficiently lightweight to not bog down the pi, normally
- this is actually well within the intended use-cases for Wireguard, so no “black magic” required in configuring it
- if you ever do decide to get a domain, you can configure everything to always be connected to your pi via Wireguard, even on the go! Not required though.
The Cons:
- when you are new to selfhosting, Wireguard is a bit daunting to set up. It is not the easiest to debug (don’t worry, it’s easy to tell IF it is working, but not always WHY it isn’t working). Some manual route handling is probably also required on the pi. It should definitely be doable though, but might turn this Jellyfin thing from a weekend project to a 2 week project…
- I have no experience with how well the pi runs Jellyfin. If the answer is “barely”, then adding multiple concurrent Wireguard sessions might be a bad experience. Though in this case, you could only switch Proton to Wireguard whenever you want to watch Jellyfin.
- the manual switching might be annoying, but that is the price to pay here, so to speak
Edit: someone else already mentioned setting up your own trusted network with a second router. IMO that is the better, more hassle-free option IF you are willing to shell out the money. My suggestion is the “free” version of that, essentially 😄
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I host Jellyfin in the most secure manner possible?English81·4 days agoHi again. Sorry for being so rude yesterday. Your new post actually clears the situation up a lot.
We might have an idea for you, will comment on the new post.
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I host Jellyfin in the most secure manner possible?English461·4 days agoHi. I am a software engineer with a background in IT security. My girlfriend is a literal network security engineer.
I showed her this thread and she said: don’t bother, just use http on your local network.
Anyways, I am going to disengage from this thread now. Skepticism against things one doesn’t fully understand can be healthy, but this is an insane mix of paranoia and naïveté.
You are not a target; the things you are afraid of will never happen; and if they did, they would not have the consequences you think they would.
Your router will NOT magically expose your traffic to the internet (what would that even mean?? Like, if it spontaneously started port forwarding to your Jellyfin server (how? By just randomly guessing the port and IP???), someone would still need to actively request that traffic, AND know your login credentials, AND CARE).
Your ISP does not give a shit about you owning or streaming copyrighted material over your local network. It has no stake in that.
Graphene is not an ultimate arbiter of IT security, but the reason it “distrusts networks” is because you take your phone with you, constantly moving into actual untrusted networks (i.e. ones you do not own).
Hosting Jellyfin on Graphene will not make it more secure, whatsoever.
If every device is assumed compromised, and compromising devices with knowledge that you watch media is a threat in your model, then even putting an SD card with media in your phone and clicking play is dangerous. Which is stupid.
If you actually assume your router is malicious, then please assume that when you initially downloaded your VPN client, it was also compromised and your VPN is not trustworthy.
The way I see it, you have two options:
- educate yourself on network security to the point of being able to trust your network setup; or
- forget about hosting anything
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I host Jellyfin in the most secure manner possible?English15·5 days agoThis isn’t really true. Even IF your router would fail catastrophically in the right way to expose your Server to the internet, or of it actually “ratted your traffic out” to the ISP and the ISP cared (which it does not), it’s not illegal to hist Jellyfin, or put media on it which you own (which is not discernible from just… Media being streamed).
Also your ISP has no part in your local network traffic.
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I host Jellyfin in the most secure manner possible?English24·5 days agoSmh. I get wanting to be connected to a VPN, but being locked out of your own local network is just stupid.
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I host Jellyfin in the most secure manner possible?English19·5 days agoThis does not encrypt during transit, and my network is not a trusted party.
Then honestly, you have other problems than setting up Jellyfin.
For real though, if you think someone is (or might be) listening in on your local network, i.e. have physical access or compromised one of your machines, then the Jellyfin traffic is the least of your problems. Pick your battles. What’s the worst that could happen here - someone gets to know your favorite show?
They do, because if ProtonVPN blocks LAN connections then the only other option is exposing the server to the WAN
Ah, I see. On your PC you should just be able to set a static route over the physical interface for 192.168.0.0/24 (or whatever your local network is) which takes precedence over the VPN. For android… Oof, no idea. Probably need root.
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•How do I host Jellyfin in the most secure manner possible?English35·5 days agoWhat are you talking about. Please clarify if this is actually true:
I don’t plan to access it anywhere but home.
This would mean that you only want to access Jellyfin when you, and the device you are watching your show/movie on, are at home, where the Pi/server also is.
Is this correct?
If so, then questions about VPN, Certificates, DNS,… do not matter.
- host Jellyfin on the Pi, e.g. with IP 192.168.10.20 on your local network
- open the Jellyfin app on your TV/Phone/PC, connect to http://192.168.10.20:8096/
- done
Now you can access it at home, and only at home. I honestly fail to see where a VPN would even come into the equation here (again, if you wish to ONLY watch when you are at home, as you’ve said).
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•Recommend EU webhosting provider to replace DreamHost?English3·7 days agoHuh, didn’t know. Thanks. I guess Hetzner is the right answer in both cases then 😄
smiletolerantly@awful.systemsto Selfhosted@lemmy.world•Recommend EU webhosting provider to replace DreamHost?English19·7 days agoDo you want all of that to be managed (DB, mailboxes, web-hosting,…) or just reliable hardware in “the cloud”?
For the latter, Hetzner.
smiletolerantly@awful.systemsto News@lemmy.world•Dow futures tumble as the massive market sell-off continues.121·7 days agoYeah!! A house only has speculative value! There’s no fundamental value in a house! Just like bitcoin, if you can’t sell your house, it’s worthless!
… .what do you mean, “a place to live in”?
smiletolerantly@awful.systemsto News@lemmy.world•Elon Musk breaks silence on global 'Hands Off!' protests slamming organizers as 'puppet masters'241·8 days agoThe title gave me a stroke
smiletolerantly@awful.systemsto Lemmy Shitpost@lemmy.world•At least Quark had some integrity.1·10 days agoClyden!!!
Oh yeah rust tooling is insanely good ootb
Not that I know of! Anyways, for no self-motivated reasons whatsoever, I think your cats have cool names :P
I am named exactly like both of your cats, wtf 😄
smiletolerantly@awful.systemsto Ask Lemmy@lemmy.world•Why haven't you created your own instance yet?4·12 days agoI host about 30 services, so it has crossed my mind. But I like the instance I am on now. Also, since it would almost definitely be just me on there, it would be a colossal waste of time, effort, and resources.
Yeah but conduit is so stale, it might as well be discontinued