LewdLemon
@LewdLemon@sh.itjust.works
- Comment on Bookmark manager recommendations 2 days ago:
Exactly my story. Putting stuff into and getting it back out of Linkwarden was way too cumbersome, even with the FF addon installed. I want to just Control + D/B to throw something inside / get something out of my bookmarks. Linmwarden’s preservation of content is nice and all, but I found I rarely if ever needed that functionality.
- Comment on Bookmark manager recommendations 2 days ago:
Floccus is its own standalone app on Android.
- Comment on Strategies and advice for transitioning out of Apple's ecosystem of devices? 3 days ago:
Admittedly, Nexcloud does try to be the everything app, and for several of those things, it naturally loses out to more specialised applications (e.g. photos vs. immich). Contacts and calendars, however, are such a no-brainers (particularly when run through card/calDAV, not the web apps) that I don’t see why I’d set up yet another service just for that.
Feel free to sell Baikal to me a little more, though! ;)
- Comment on Strategies and advice for transitioning out of Apple's ecosystem of devices? 4 days ago:
It depends what you want from this.
- LocalSend shines with single files that you specifically select.
- Syncthing is great for zero-hassle synchronisation of multiple files and even entire folders.
Personally, I prefer the latter because it’s much more powerful. Also, I’ve experienced issues with LocalSend and VPN usage.
- Comment on Strategies and advice for transitioning out of Apple's ecosystem of devices? 4 days ago:
Excellent advice!
I’d like to add to the list:
- Calendar, Contacts - Nextcloud (via cal/cardDAV)
- Bookmark (and tab?) sync via Firefox Sync (or similar)
- AirDrop to Syncthing
- Check whatever other software and features she uses daily for work, communication, or leisure, and make sure it either exists on the Linux side or there’s a viable alternative, and get her used to that first
I’d only make the switch once you’ve made sure that
- she knows why she’s doing this, and is determined to. Doing it because you made her is bound to lead to failure.
- you know all the features and software she’s used to and have tested and established a working alternative.
- Comment on Help an idiot protect his homelab and few services exposed to the internet. 6 days ago:
Idiots of the world - unite!
- Comment on Help an idiot protect his homelab and few services exposed to the internet. 1 week ago:
Tried to get it running with NginxProxyManager. Didn’t work. I’m probably part of “team idiot”.
- Comment on Is webmin safe to hsve accesible over the web 1 week ago:
I didn’t say you should put your Nextcloud instance behind a VPN. Mine is public too.
I’m saying you should put your administrative access behind a VPN. SSH, reverse proxy admin panel, you name it. You need not do administrative stuff from work.
- Comment on Is webmin safe to hsve accesible over the web 1 week ago:
That’s fair, but I still can’t see how a VPN connection makes your stuff less accessible.
- Comment on Is webmin safe to hsve accesible over the web 1 week ago:
Why would you want to expose it to the web in the first place? In a homelab scenario, you’re the only one who needs access, so putting it behind a VPN comes at zero convenience or monetary cost.
- Comment on backups ran and tested! 1 week ago:
DSL.
spoiler
<spuckt sein Müsli über den Tisch> Wo gibt’s 300 Mbit für EUR 40 monatlich? <recherchiert> Ahja, Vodafone. Eigentlich nicht schlecht. Wie sind deine Erfahrungen mit denen? Kriegt man bei denen eine eigene öffentliche IPv4-Adresse ohne CGNAT? Sitze leider im tiefsten Rentnerviertel; hier kann man froh sein, wenn die Leitungen aus Kupfer sind und nicht noch Fachwerk. Glasfaser sollte verlegt werden, aber dann geriet die Deutsche Glasfaser an den Rand der Insolvenz. Mal sehen, wie das weitergeht. Für mein bisschen Homelab reichen mir 100 MBit (bzw. magere 40 im Upstream) derzeit noch aus. Das könnte aber anders werden, wenn ich mehr Nutzer dazubekomme, mit denen ich mir die schmale Upstream-Bandbreite teilen muss.
- Comment on Self-hosting redlib? 1 week ago:
This is how I do it, and for good reason: Reddit aggressively rate limits instances. I’ve read they’ve limited us to ~100 requests / 10 minutes. That’s fine if you run an instance just for yourself. If you’re hosting a popular public instance, chances are you’ll run into a brick wall pretty quickly.
- Comment on backups ran and tested! 1 week ago:
<cries in 100 MBit/s connection>
~Aber, wie ich sehe, ein Landsmann. Für erschwingliche Glasfaser leben wir im falschen Land.~
- Comment on backups ran and tested! 1 week ago:
Recently read a comment here: “Think you have a backup? Delete your drives now. If you’re hesitant, you don’t really have a backup.”
As true as that is: I’d be in the “hesitant” category because I only back up my data / containers, not my bare metal system and its config. Do you guys? (Proxmox users will probably do, but what about the rest?)
- Comment on Improving security by separating server duties 2 weeks ago:
No offense taken. You’re right to be suspicious. I get that the bullet-point-ish style of my OP gives people ChatGPT vibes.
- Comment on Experiences with using openclaw as a sex/roleplaying chatbot without GPU? I h 2 weeks ago:
But there’s people out there! (shudders)
- Comment on Improving security by separating server duties 2 weeks ago:
I’m not an LLM if that’s what you’re getting at. ;)
- Comment on Folder/file name structure for eBooks 2 weeks ago:
Feel free to elaborate. ;) I don’t mind ditching folders. The question is: how do I get at said metadata with the least amount of manual effort, how do I make sure that it’s accurate (sifting through thousands of files is not fun), and how is the metadata stored - particularly so that does not lock me into one application that can only understand its own metadata scheme, and once it dies or I want to switch to a different one, I lose all the work I’ve put into curating my collection. That’s why I was considering folders as an option: they are a software-agnostic way of organising my library.
- Comment on Folder/file name structure for eBooks 2 weeks ago:
That sounds reasonable. So you’re essentially throwing everything into one folder and let software do the rest? May I ask what software you’re using, and how it stores your tags? Does it use metadata files or a database?
- Comment on Folder/file name structure for eBooks 2 weeks ago:
Hi there,
thanks for not staying true to your username. ;)
[let the LLM] apply metadata to the file
How does this work in practice? I’ve got a bunch of .pdf, .epub, .txt, even some .doc files lying around in a folder. What would an LLM do to them? Write a bunch of .xml files with the same file name of the corresponding book, or what?
- Submitted 2 weeks ago to selfhosted@lemmy.world | 18 comments
- Comment on Backup 2 weeks ago:
I’ve got your exact setup:
- running immich (and other services with valuable data) at home (on OMV!)
- backup server at family member’s house
- regular backups from here to there through Wireguard tunnel with Borgbakup
AMA!
I don’t want a compromised device on the family member’s network to compromise mine
If with “mine” you mean the pi Zero, I wouldn’t worry too much about that. Just configure the pi’s firewall to drop all traffic from the LAN (they have no business with this device anyway), except any incoming traffic from the router on the Wireguard port.
- Comment on Is anyone self-hosting their own AI? 2 weeks ago:
Immich is entirely free and open-source software and got a grant from the FUTO Foundation, which is fiercely pro privacy. As such, it does not engage in any data sharing. Development is financed through the grant and purchases of the server licence (I got one; it’s ridiculously good software).
- Comment on Improving security by separating server duties 2 weeks ago:
Ah! I use virt-manager + qemu on desktop Linux, mainly to try things and and contain dodgy software (Windows). I didn’t know it was commonly used on headless servers. Thanks for pointing that out!
- Comment on Is anyone self-hosting their own AI? 2 weeks ago:
I’m self-hosting psiTTSa, an offline text-to-speech engine.
(Prob not the answer you were looking for, but a reminder that “AI” is more than just LLMs.)
- Comment on Improving security by separating server duties 2 weeks ago:
Thanks for your detailed reply and expertise! I really appreciate it!
First question you have to ask yourself is so what?
You’re right to call out my lack of threat modeling. I am aware that the “cost” of what I’m planning here likely outweighs the actual risks. That’s a deliberate choice though: one of my objectives in homelabbing is to “learn how the big guys do it”, i.e. learning and implementing, bit by bit, networking and security best practices.
That said,
- all of my drives are (LUKS) encrypted (although this will only help against evil maid attacks physically stealing my disks, since data is only encrypted at rest, not while the server is in operation)
- I do have some CPU monitoring in place
- I have applied the principle of least privilege (as far as I can see at least)
- I have set up an off-site backup server running (although I need to improve automation and deduplication; I’ll probably go with Borg here)
Thank you also for pointing me towards OWASP Docker cheat sheet! I didn’t know this resource yet, although I seem to have found others that said the same thing. I already have in place:
- no docker socket exposed to services
- user set for every service that didn’t give me a headache doing that (some assume root and won’t accept setting a user)
- username remapping is active
- all containers have their caps dropped and selectively only put those back in which they need
- I expose almost no container ports, and only those necessary; instead, communication with the containers is handled on my reverse proxy’s network (i.e. via the internal docker network)
- privilege escalation is disabled
I have played around with rootless docker (again, stubborn containers assuming root prevented me from going all-in) and considered Podman, although just putting containers in a VM looks like a more frictionless route to me.
All things considered, your advice seems to be:
- to first consider whether I actually need all this security. I really don’t, yet I want to learn how to set it up anyway.
- to first explore and all other hardening avenues. I have, to a certain degree, and beyond that run into brick walls.
If I might exhaust a little more of your time, I’d be curious how you judge the next step I’ve suggested: splitting duties between separate servers, thus segmenting public from private physically, or going the virtual route (again, by splitting into a public and a private VM and separate them through strict software firewalling).
- Comment on Improving security by separating server duties 2 weeks ago:
I still use separate user accounts for different purposes with heavily restrictive permissions.
Good call, that’s an even more effective first line of defense! (I have, however, already implemented it. ;)
- Comment on Improving security by separating server duties 2 weeks ago:
Thanks for your input. It is correct that a lot of ISPs/consumer grade hardware is poorly maintained. Mine is a rare exception, however: I’m running an AVM FritzBox, which are somewhat famous for still receiving updates even after 10+ years on the market. They have only recently pushed a security update my way, so I’m good enough on that front - for now.
I shall consider a firewall in the future though.
I hope part of your hardening SSH is changing the port number!
I used to do that, but then realised that doing so will do very little. Scanning all possible ports is a matter of seconds, and SSH (unlike Wireguard) will signal to a potential attacker that it’s listening on port X instead of just remaining silent. In other words: in my eyes, it’s security by obscurity and will have very little effect.
What I have done to harden SSH is:
- set up pubkey authentication and disable password authentication
- disable root login
- not expose my SSH port publicly; it is accessible only from my LAN and through Wireguard
I have also tried out IP whitelisting (which may harden my setup against attacks from the LAN), but found it may be overkill for now. I might turn it back on just for shits and giggles.
- Comment on Improving security by separating server duties 2 weeks ago:
Before doing anything else , consider if you actually need to expose anything to the internet at all. Running a VPN would let you reduce your exposed service to 1 port ( wireguard is UDP based so it’s harder to test if the port is open too ). A VPN like NetBird / tailscale / Cloudflare warp don’t need you to open any ports at all
Good advice! Here’s my setup in more detail:
- a good 90% of my services are “private”, i.e. they’re only accessible through Wireguard or from the LAN. I use local DNS + a reverse proxy to get “virtual” URLs + proper SSL termination within the LAN. Also, all administrative tools (e.g. SSH) are private (Wireguard or LAN only); none of them are publicly available.
- some of my services (e.g. Nextcloud, Wireguard, RustDesk) are public so as to allow me to use collaboration and file sharing tools with others. For this I do expose some ports publicly.
As you can see, I have mostly realised what you said. However, I don’t see myself setting up VPN connections for each and every user of my services and train them how to use them; link shares via Nextcloud or tech support via RustDesk need to be frictionless, so taking these services private isn’t an option.
Yet if one of these public services were to be compromised and root access gained, I do see the risk of a (motivated) attacker to attempt lateral movement to get at the more sensitive services that I’m keeping local for a reason.
- Comment on Improving security by separating server duties 2 weeks ago:
This sounds a lot like my second option, except yours is a little more custom-made. What do you use to set up and run your VMs?