lemmyvore
@lemmyvore@feddit.nl
- Comment on It's Self Hosting Sunday! Plug & Play 10 hours ago:
Could be running a media player or some other UI.
At some point you figure out that the server has a graphical output and it’s sitting idle most of the time. Lots of things you can do with it, even if it’s as simple as playing bird videos for the cats. But you can have a retro game library, media library, play pics in a loop etc.
- Comment on It's Self Hosting Sunday! Plug & Play 11 hours ago:
Either way I think you’re on the right track. Making your cert renewal process proxy-agnostic is a good thing. Certbot is the most robust of all standalone ACME tools – and it’s what some of these proxies use behind the scenes anyway.
Trying other reverse proxies is also healthy and a good exercise. I’m not jabbing at people who stick with the same proxy for a long time but they literally don’t know what they’re missing.
I’ve used Nginx and Caddy but I plan to try Traefik and HAProxy too, if only to see how they compare.
- Comment on (maybe OT) AI has broken RSA 13 hours ago:
Bruce Schneier says he has sources hinting that the breakthrough is targeting lattice systems.
He doesn’t seem surprised about that. The whole blog post is worth a read but one of the take-aways is that lattice cryptography is among the newest and the least reviewed, followed by elliptic curves and then classic cryptography like RSA and DH, and he finds it natural that holes are most likely to be found in the least studied of them.
- Comment on Backporting security fixes is overrated 2 days ago:
You can’t really go wrong with Debian. It’s a mature distro, it has a longterm-stable governance model and sensible decisions, tons of help and advice for it online, and it updates cleanly between major releases – which is more than I can say for Ubuntu.
Debian stable may not have the latest software but they keep up with the security fixes and it’s a server so I run everything inside containers or VMs anyway where I can add anything I want.
- Comment on Play movies on your framebuffer 2 days ago:
Hey, it worked. I’ll add the details to the post.
- Comment on Play movies on your framebuffer 3 days ago:
Ah I’m afraid I have a non-smart TV. But thanks, I’ll look into Kodi.
- Comment on Play movies on your framebuffer 3 days ago:
Please do, that sounds very interesting.
- Comment on Play movies on your framebuffer 3 days ago:
Oh I didn’t know Kodi can run standalone on framebuffer, I’ll check it out.
- Comment on Play movies on your framebuffer 3 days ago:
Thanks that’s interesting, I’ll see if I can get it to run headless as a Jellyfin “play to” target.
- Comment on Last.fm API keys will require Pro starting December 1st 3 days ago:
In that case you can export your Last.fm history, edit out the stuff after you started scrobbling to Listenbrainz, convert it to a format that’s accepted by the manual import, and add it like that.
- Comment on Play movies on your framebuffer 3 days ago:
I will double check but I can see other mDNS-based stuff. I can browse Jellyfin’s own DLNA, I can print to a CUPS printer, and Chromecast works on other apps.
- Comment on Play movies on your framebuffer 3 days ago:
Yeah it’s behind a reverse proxy on a proper domain with LE certs
- Comment on Play movies on your framebuffer 4 days ago:
I can cast right from the Jellyfin app to my Chromecast.
I can’t, the Chromecast doesn’t show up for me in Jellyfin and never has. Not sure why, other apps can cast to it just fine.
you’re reinventing the graphical desktop
I’m going to look into getting a graphical stack going but only if it can work in a container.
- Comment on Play movies on your framebuffer 4 days ago:
I usually do that on Debian containers but considering this one is about 900MB it probably doesn’t matter much.
- Comment on Simplest VLAN setup? 4 days ago:
I second OpenWRT.
You might not even have to do actual VLANs. OpenWRT has very useful abstractions already set up: devices, interfaces, wireless AP, and firewall zones. You can tell it how to connect physical devices and wireless AP into networks, associate networks into firewall zones, and configure how the zones can talk to each other. It takes a moment to wrap your head around it but then it’s quite nice.
It’s very simple to create a separate wifi AP that’s only for cameras and/or reserve a switch port for them, connect that AP/port to a separate network, assign it a firewall zone, and configure it to be accessible from other zones but to not be able to connect outside to other zones or WAN.
The only time I’ve had to do an actual tagged VLAN was when I wanted to put a wired machine with a single Ethernet cable in multiple networks.
- Submitted 4 days ago to selfhosted@lemmy.world | 24 comments
- Comment on Last.fm API keys will require Pro starting December 1st 4 days ago:
You can connect Listenbrainz to your Last.fm account and it will import all the scrobbles for you automatically. It might take a few days though.
If you want the loved songs you import that manually, there’s a button in the box where you connect to Last.fm.
- Comment on How are you autorganizing your homeserver in jellyfin? 5 days ago:
Are the metadata sources configured properly for each library? It helps a lot to reduce its confusion if you make a library only for movies and set movie sources, and make a separate library for series and set series sources there.
Also, the order of the sources can also help, and if the movies/series are in a different language it can help to set that as the library’s primary language (preferred download language and country/region settings).
For anime you can mix movies and series in the same library because the metadata sources are typically the same for both.
Wish I could tell Jellyfin that I have no anime whatsoever, and nothing Korean. It really likes those two categories.
It sounds like you might have sources for anime and/or Korean metadata enabled in libraries that don’t have that kind of content. If so, uncheck them.
You can also disable the plugins for anime metadata altogether if you don’t have any. AniDB, AniList and Kitsu are some of them.
- Comment on How are you autorganizing your homeserver in jellyfin? 5 days ago:
Most stuff comes with S02E03-style stuff in the file names, and Jellyfin can also recognize variations like 203 and 2x03 so you don’t actually have much to do.
The thing that trips me once in a while is single-season shows that don’t have the episodes in a “Season 1” subfolder. That tends to confuse it and it will leave the folder as a folder in Jellyfin, instead of attempting to identify the series and show it as a title.
Once in a blue moon Jellyfin will fail to recognize a movie, or identify it as the wrong one (same title, different years) but that’s easily fixed from the three-dots menu -> Identify.
Occasionally there’s some more stubborn stuff like multi-versions or anime titles but it’s extremely rare.
It also works fairly well with Youtube rips, concerts etc.
What I’m trying to say is that you don’t actually need a lot of automation. You can even point Jellyfin at the completed folder and let it rip.
The main reason people use *arr organizers is mostly to split movies from shows, or if they want to move the files to another folder.
Speaking of moving, some torrent apps like Deluge will happily follow symlinks, but some won’t, which complicates things. The *arr’s will do hardlinks if you want but that only works within the same filesystem.
- Comment on What's your opinion on local domains like cloud.lan? 1 week ago:
like cloud.example.com which is much longer and all the gold ones are taken anyway.
You can try getting a shorter domain from a ccTLD. I’ve probed my country’s whois for 1-3 digit domains once on a whim and stumbled across one that was free.
- Comment on What's your opinion on local domains like cloud.lan? 1 week ago:
OK, but having access to port 80 on the IP associated with a domain but not to the DNS raises some interesting questions. 🙂
Unless it’s purely a matter of personal preference but I for one don’t see why you’d want to do HTTP-01 unless forced. It can’t do wildcards, for one thing. And you need an
Arecord pointing to your public IP, and if your public IP is dynamic you need to do DDNS, and open port 80 and so on. That’s a lot of moving pieces that make automation hard.Also, if you’re doing DDNS there’s a chance the DNS has some sort of API that might also work for certbot. Granted it’s not a given, I’ve seen registrars that offer a DDNS link but not something you’d call an actual DNS API.
But anyway finding a decent DNS provider with a certbot-friendly API is not that hard.
- Comment on What's your opinion on local domains like cloud.lan? 1 week ago:
Can I recommend that you move that record to the local DNS? Assuming your router’s firmware has this feature and you can access it.
Private IPs in public DNS are associated with certain types of attacks and they get filtered by some DNS servers, routers or ISPs so you may run into intermittent “unexplained” hiccups.
Secondly, if your internet ever goes down in the middle of the night and the records expire from the local DNS cache by morning, you won’t be able to resolve anything on your LAN anymore. Which is a pity because it’s unnecessary, your local setup can work fine independent of the internet connection.
Last but not least, there are actors out there that use a variety of methods to gather information about the infrastructure behind each domain and the least such information you put out there, the better.
Run your domain through DNS Robot to get an idea.
- Comment on I went vpn only 1 week ago:
It has always been the safest way to host private apps.
I don’t mean WG specifically (although that’s a great method) but I think everybody should be using some second layer that’s enforced on a different level from the app itself: mTLS, OAuth, basic auth in the reverse proxy, even some geoblocking, anything.
- Comment on Last.fm API keys will require Pro starting December 1st 1 week ago:
For those who want to grab a copy of their LastFM scrobbles.
- Comment on Custom domains and Tailscale 2 weeks ago:
Can I just buy a personal domain, and have all my services be coolname.com:####
It’s actually better. If you get a domain and install a reverse proxy on the server (Nginx Proxy Manager is easy to use) it will help you get free SSL certificates and make subdomain “aliases” so you’ll be able to use
https://service.cooldname.com/links. And they’ll have the little shield in browsers and everything.for both local and Tailscale access? Is that as simple a process as I want it to be?
The Tailscale access is a bit more involved. Here’s the general steps:
- Get Tailscale running on the server with all the services and the reverse proxy. Tailscale will create a network interface with a 100.64.x.x IP address.
- Have the reverse proxy listen on that 100.64 IP. Generally this should happen automatically since it tends to listen on all interfaces by default. You should be able to see the reverse proxy admin page at http://100.64.x.x:8081 (or whatever the admin port is).
- In order to reach the reverse proxy when you type service.coolname.com you will need to tell your LAN DNS server to resolve
*.coolname.comto the LAN IP of your server. - Next you need to install a small DNS server and also have it listen only on the Tailscale IP. Dnsmasq is a tiny server you can use for this. You want to configure it to resolve
*.coolname.comto the Tailscale IP (100.64.x.x). - Then you go to the Tailscale admin page under the “DNS” section, click on “Add nameserver”, choose “Custom nameserver”, put in that Tailscale IP, check the “Restrict to domain” box and put “coolname.com” in there.
After that, when you’re at home but NOT connected to Tailscale you will have coolname.com pointing at the reverse proxy via the LAN IP, and when you ARE connected to Tailscale (whether at home or not) it will be pointing to the Tailscale IP and go through the Tailscale VPN. So you’ll be able to use
https://service.coolname.com/all the time everywhere. - Comment on Custom domains and Tailscale 2 weeks ago:
The downside to the
.ts.netapproach is that you need to install multiple TS clients if you want multiple subdomains. Typically one per service.There are projects like TSD-Proxy that help with that. It makes it so you only use one Docker container instead of having to make a sidecar container for every service.
Then you also have to resolve
*.tailnet.ts.neton your LAN’s DNS and that’s it. Unless you ever want to use something other than Tailscale, that is. - Comment on [deleted] 2 weeks ago:
It doesn’t “circumvent firewalls”, it’s helping you. You’re asking it to forward a port from the container’s internal interface, through the bridge to the host, and expose it on all interfaces on the host.
There’s a small set of people who apparently like to do that by hand(?) but the vast majority prefer Docker to write and maintain all those rules… especially since it also takes them up and down as needed when the container goes up or stops, and also updates them with the correct IPs from its internal networks which are allocated semi-randomly.
(Fair warning, gonna be ranting and shaking my fist for the rest of this comment.)
I’ve never understood what the problem is, I mean why ask it to expose on all interfaces and then complain it’s actually reachable. And how do these people orchestrate their rules anyway? My bet is they write a manual rule opening port 3000 on one IP then leave it up and forget about it. Meanwhile the port is bleeding into all the host interfaces and ends up being exposed to tunnels and all kinds of things it shouldn’t be. But somehow that’s more secure?
As a rule of thumb, people really shouldn’t be using network rules unless they’re prepared to describe ALL the device’s networking in every detail. The rules should always start with DENY across the board and open things up explicitly.
Calling them “firewall” has done a great deal of damage and encouraged people to think it’s somehow secure and ok to have ALLOW on everything then slap DENY on one particular public IP and open some ports on it. If you don’t want to expose a service then the first step would be to not run that service, and the second is to only bind it to the interfaces it really needs to be on. Not opening it up to everything then slapping a “firewall” on top.
- Comment on How do you solve email? 2 weeks ago:
Just give up and let megacorps own all of our mail?
But there’s no shortage of email providers who aren’t megacorps.
As long as you own the domain and have an archive of all your mail past and present in your own storage, does it really matter whose server you currently use to send and receive the email?
I see email as a carrier service, like the broadband line or the mobile service. They move the messages through, it doesn’t matter who they are (privacy withstanding, as with any carrier).
- Comment on How do you solve email? 2 weeks ago:
Here’s a starting point for EU-based providers. If you give more details about your needs (how many mailboxes etc.) we can advise or recommend.
My main criteria is access through regular IMAP/SMTP without any made-up hurdles (cough Proton “email bridge”).
Based on your need for email + calendar + contacts I’d say mailbox.org is a likely candidate. Please note that you pay separately for each mailbox (distinct login) but you can establish a “family” relation between accounts for sharing data.
What I do personally:
- Self-host a CalDAV/CardDAV server (Radicale) for calendar/contacts.
- Use a regular email provider (Migadu) with my own custom domains.
- I access the live mailboxes via IMAP from various email clients (desktop, phone etc.)
- Same for sending, use the provider’s SMTP.
- I use mbsync aka isync to fetch a copy of all email to my server and delete messages older than 30 days from the live mailboxes.
- I self-host a private IMAP server and webmail mainly for browsing and searching this mail archive. I don’t send from this webmail (although I could connect it to the live SMTP if I ever wanted).
If I ever need to switch providers I can do it as fast as I can sign up / pay with someone else and all it takes is updating the IMAP/SMTP server address on the various clients, and the DNS records for my email domains. Nothing else changes about the setup.
Why Migadu: they have a pricing model where you pay for storage and emails sent/received but can otherwise have unlimited domains, aliases, mailboxes, logins etc. It can become price-efficient very rapidly if you use it for 2+ people and/or have multiple email domains because this is exactly where regular providers corner you – they tax per mailbox, per domain, if you want more than a handful of aliases etc.
- Comment on Question about using gluetun for other containers 3 weeks ago:
You can’t use dependencies cross-stack.
If you know the IP that the gluetun interface is supposed to have you tell the BT client to use that interface as output interface. Usually BT clients have this option, other apps might not.
Another thing you can do is wrap the client in a script that waits for the interface to be up (respond to ping) before it moves one. Something like (in
sh):while ! ping -c 1 -q -W 1 "$IP" &>/dev/null ; do echo "Waiting for ${IP} to come up..." sleep 5 done # run BT client here
Alternatively if the gluetun interface itself doesn’t respond to ping, you can ping something else (like
1.1.1.1) through the interface, and use the-I ${IP}option for ping to bind to it for output.