GolemancerVekk

joined 11 months ago
[–] GolemancerVekk@alien.top 2 points 10 months ago

"Shared network folder" in Jellyfin doesn't do what you think it does. πŸ˜› I agree it's rather confusing. It's just a convenient link to a Windows share which you can open from the Jellyfin app if you want to browse the files and they happen to also be shared as a Windows share. It's NOT where Jellyfin takes the files from.

Jellyfin can only index files accessible to it locally. Share the files from TrueNAS to the machine or container running Jellyfin, then point Jellyfin to the directory where you mounted the share. I recommend NFS rather than Samba for this purpose.

[–] GolemancerVekk@alien.top 1 points 10 months ago

NPM can also do URL proxying: you can reach sub.maindomain.com at maindomain.com/whatever/. Edit the proxy host definition for the main domain and look in the "custom locations" tab.

Alternatively, if you can control your browser's settings, you can try using DNS over HTTPS which can let you bypass your company's DNS. Try using https://dns.quad9.net/dns-query for example as the DNS over HTTPS address (or whatever your browser can offer).

[–] GolemancerVekk@alien.top 1 points 10 months ago

InfCloud. There's a link to the demo lower on the page. It can do events, tasks and contacts.

[–] GolemancerVekk@alien.top 2 points 10 months ago (2 children)

Don't self-host email SMTP or public DNS. They're hard to set up properly, hard to maintain, easy to compromise and end up used in internet attacks.

Don't expose anything directly to the internet if you're not willing to constantly monitor the vulnerability announcements, update to new releases as soon as they come out, monitor the container for intrusions and shenanigans, take the risk that the constant updates will break something etc. If you must expose a service use a VPN (Tailscale is very easy to set up and use.)

Don't self-host anything with important data that takes uber-geek skills to maintain and access. Ask yourself, if you were to die suddenly, how screwed would your non-tech-savvy family be, who can't tell a Linux server from a hot plate? Would they be able to keep functioning (calendar, photos, documents etc.) without constant maintenance? Can they still retrieve their files (docs, pics) with only basic computing skills? Can they migrate somewhere else when the server runs down?

[–] GolemancerVekk@alien.top 1 points 10 months ago

I think it really depends on what you intend to do with it... Many answers here will mention what they use but not why.

In my case I want to have various services installed in docker containers, and I have the skills to manage Linux in console. A very simple solution for me was to use a rock-solid, established Linux distro on the host (Debian stable) with Docker sourced from its official apt repo. It's clean, it's simple, it's reliable, it's easy to reinstall if it explodes.

Why containers (as opposed to directly on the host)? I've done both over several years and I've come to consider the container approach cleaner. (I mention this because I've seen people wondering why even bother with containers.) It's a nice sweet spot in-between dumping everything on the host and a fully reproducible environment like nixOS or Ansible. I get the ability to reproduce a service perfectly thanks to docker compose; I get to separate persistent data very cleanly thanks to container:host mapping of dirs and files; I get to do flexible networking solutions because containers can be seen as individual "machines" and I can juggle their interfaces and ports around freely; I get some extra security from the container isolation; it's less complicated than using VMs etc.

[–] GolemancerVekk@alien.top 1 points 10 months ago (1 children)
  • Get a cheap VPS.
  • Get a domain name and point its A record to the IP of the VPS.
  • Set up a VPN tunnel between the VPS and your home server. You can use Tailscale or wg-easy. You don't need to worry about CGNAT because you're establishing the VPN by going out of your server (either through Tailscale or to the VPS IP with wireguard).
  • Port-forward 443 on the VPS public IP through the tunnel to a reverse proxy running on the home server (NPM, Caddy, Traefik etc.)
  • Get a Let's Encrypt wildcard TLS certificate for *.yourdomain.tld.
  • Set up the reverse proxy to use the TLS certificate for immich.yourdomain.tld and point it at your immich container.
[–] GolemancerVekk@alien.top 1 points 10 months ago

I use Cloudflare tunnels because they are a good way of exposing sites to the internet without exposing my IP

What difference does that make? I only ever heard one realistic reason for hiding your IP, which was a guy living in a suburban neighborhood with static IPs where the IP indicated his house almost exactly.

If you have a dynamic IP it will get recycled. If you get a static IP it will eventually get mapped to your precise location, Google & other big data spend a lot of time doing exactly that.

or opening ports [...] or other attacks

If your services are accessible from the internet they are accessible... doesn't matter that you don't open ports in your local LAN, there's still an ingress pathway, and encrypting the tunnel doesn't mean your apps can't get hacked.

I don’t have to worry as much about DDoS

How many DDoS's have you been through? Lol. CF will drop your tunnel like a hot potato if you were ever targeted by a DDoS. If you think your $0/month plan is getting the same DDoS protection as the paid accounts you're being super naive. Let me translate this page for you: your DDoS mitigation for $0/mo amounts to "basically nothing". Any real mitigation starts with the $200/mo plan.

[–] GolemancerVekk@alien.top 1 points 10 months ago

I'm partial to the DIY PC option because it allows far more flexibility. If you can swing the space for the larger box IMO it's the best way to go.

Some things to keep in mind when speccing the box:

  • Some PCIe slots can come in extremely handy down the line. There's an amazing variety of expansion cards that can save your butt when you decide to do something you haven't foreseen.
  • Consider how many HDDs you'd like to have. This will determine the case size as well as how many SATA connectors you need to get.
  • Get an Intel CPU at least gen6 because they have GPU with hardware transcoding built-in.
  • Get at least one M.2 slot, to be able to install the OS on a NVMe SSD and not take up a SATA connector. Read the motherboard specs though, some of them disable a SATA connector anyway if you use the M.2 slots in a certain way.
  • You can run a server on RAM as low as 4 GB. You actually don't need very high RAM if you don't intend to run VMs or ZFS.

Are you familiar with any Linux distro in particular? I would strongly recommend using Docker rather than native regardless of distro.

[–] GolemancerVekk@alien.top 0 points 10 months ago (3 children)

Here's an idea, check out ytdl-sub: https://github.com/jmbannon/ytdl-sub

You can set it to track a YouTube channel and it will download videos and set up nice collections for you in Jellyfin, which you'll never lose again and can watch without ads.

[–] GolemancerVekk@alien.top 0 points 10 months ago

Please take such advice with a large grain of salt. OP's experience is very much not the norm. Especially for more complex apps like Jellyfin or Nextcloud, it's almost guaranteed you'll break them if you just update blindly.

view more: next β€Ί