• 6 Posts
  • 433 Comments
Joined 1 year ago
cake
Cake day: April 27th, 2024

help-circle


  • I 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


  • I’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 ^^




  • Hi 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 😄



  • Hi. 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:

    1. educate yourself on network security to the point of being able to trust your network setup; or
    2. forget about hosting anything



  • This 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.


  • What 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.

    1. host Jellyfin on the Pi, e.g. with IP 192.168.10.20 on your local network
    2. open the Jellyfin app on your TV/Phone/PC, connect to http://192.168.10.20:8096/
    3. 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).



  • Hm, I don’t have too many of those. The one large one I have was on Signal already, but that’s mostly luck.

    If it’s a >10 people group that has already been established on WA, you’re probably out of luck. If a group has not been established yet, your best bet is probably to be super proactive: “Yes, good idea, let’s do make a group! Here, I’ve set up the Singal group, just scan this QR code to join! Oh, you don’t have signal? Oh, nevermind, it’s super quick to set up, and then you can simply join via the QR! I’d really hate to see you not be part of the group chat, but of course it’s up to you if you want to join…”