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

help-circle
  • 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).









  • As a fellow Futo user: it’s not great out of the box. My biggest recommendations are:

    • under Languages and models, download all the voice models (if you use those), transformers, and wordlists you can for your languages
    • if you use multiple languages, set the check on “multilingual typing” for ALL of those languages
    • this is probably the biggest one: in text prediction -> Advanced Parameters, DRASTICALLY change the values. The original ones are 3.4 and 4.0 for LLM strength and autocorrect threshold, mine are currently set at 28.5 and 0.8, respectively. This takes the autocorrect from “occasionally working” to “as good as SwiftKey” for me.
    • Keyboard and Typing -> Long Press -> Show hints. Could not find that for ages so thought I’d add it here.

    Also, two super useful shortcuts: you can press the space-bar and move your finger around to move the pointer; and the same for backspace to fine-control what to delete.

    Hope this helps, but if not… What additional gripes do you have with it?