this post was submitted on 30 Nov 2026
200 points (98.1% liked)

Selfhosted

64159 readers
1042 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I've run a bunch of self-hosted services for quite some time now. Mostly, the usual media and file storage suspects.

Last week, I switched my network over to Firewalla boxes for routing, network monitoring, and mesh wifi. I went with them instead of a self-hosted solution because of the push alerts you get on mobile, plus setting up vLAN and vqLANs to separate family, IOT, work, and guest networks.

Slowly started moving over different devices. Within 5 minutes of putting the server on the network segment, started getting warning alerts that the server was contacting potential malware sites. In Japan, Africa, then Pakistan! The mobile app let me block this outbound traffic, but it kept changing. Russia, South America, Canada, etc. Definitely a botnet, and the volume of outbound data kept going up.

After a few minutes of this, I just went over and pulled the power plug. This server is mainly running media hosting stack via Docker on top of Ubuntu. Pretty stock, with no manually installed plugins or anything. I'm likely going to nuke the whole thing and manually install only the bits that I need.

Anyway, as a PSA, recommend everyone set up an active network monitoring system, ideally separate from the host itself. I thought I was pretty careful with my ports, regular virus scans, and firewall rules. Have learned my lesson.

No affiliation with any vendor. Just passing it forward.

you are viewing a single comment's thread
view the rest of the comments
[–] MalReynolds@piefed.social 24 points 1 day ago (6 children)

It's good advice, but not a selfhosted solution. Other than the usual suspects (crowdsec, fail2ban, pihole, Technitium, and their logs) anyone got any good solutions? In the current environment of LLM assisted cyberattacks it sure would be nice to step up our game.

[–] Fmstrat@lemmy.world 1 points 5 hours ago

Opnsense with SNORT

[–] zarathustrad@lemmy.world 1 points 11 hours ago (1 children)

With only 2 users, I don't expose anything to the net, use only tailscale (for now, netbird is on the horizon) to connect remotely for each device/service.

Even so, my next big push is setting up more hardening, monitoring and general security stuff. (I already run a few proxmox hosts on mini PCs. One of those mini PCs is the physical router with VMs for Opnscence , monitoring, adblock. (VMs over containers for this host, I don't want some container causing kernel issues on the rounter). As you know, this solution is no longer cheap (salvaged the 2015-20 era PCs from the corporate trash heap, and bought extra ram in '25. Good luck now lol).

Unfortunately the weapon vs hostile LLMs is likely going to be smaller local read only LLMs to help monitor everything, recognize patterns and a kill switch to lock it all down until us slow humans can respond later. Of course that comes with other risks that have to be mitigated... Like knowing how to run local LLMs securely, offline, and locked down to only know and do very specific things.

[–] MalReynolds@piefed.social 2 points 10 hours ago (1 children)

Yeah, same. VMs are likely more hardenable (but rootless podman is likely better than docker, and perhaps VMs given SELinux) with what I have. If WireGuard gets broken we're all fucked (for a brief while). And yeah, it'll likely be Spy Vs Spy (LLM on LLM) as per Mad magazine for a while, but we'll likely come out the other side with much more robust systems. The meantime will likely be rough.

[–] zarathustrad@lemmy.world 1 points 9 hours ago (1 children)

Lol. I love any community where spy vs spy references are still alive. (But.. Yea dark days ahead on the security front IMHO. Security though obscurity is officially dead. Time to harden up and limit those attack surfaces.)

You just gave me a flash back to my Apple ][c. https://en.wikipedia.org/wiki/Spy_vs._Spy_II:_The_Island_Caper

Time to fire up the emulator!

[–] MalReynolds@piefed.social 1 points 9 hours ago

Nice to be known, but buckle up buttercup, best surface is none, next couple of years all the technical debt is coming home to roost. TBF I like the new games better.

[–] ComradeMiao@lemmy.world 9 points 22 hours ago

If you’re only using it for yourself then you should only be exposed via a VLAN accessible via VPN. Done.

[–] fubarx@lemmy.world 11 points 1 day ago (1 children)

I did look into self-hosting alternatives like Portmaster, OPNSense, IPFire, NethSecurity, and Zabbix.

I ultimately landed on a standalone device instead of a sidecar process. Main reason I posted the cautionary tale here was that it quickly let me discover malicious traffic on a selfhosted network that I was certain was safe and secure.

[–] MalReynolds@piefed.social 7 points 1 day ago* (last edited 1 day ago)

Fair enough, there's some value in an independent device (or more usefully, for more people, but more difficult, a VM or container) for this usecase. Minimal dependencies is important with the supply chain rampancy as an issue (even more than it always was). Thanks for raising it, no criticism implied, and it needs focus, just trying to raise the tide for all boats.

[–] MonkderVierte@lemmy.zip 7 points 23 hours ago* (last edited 23 hours ago) (1 children)

Defensive first and always have a second door. SSH only over VPN and no direct login to root, run services rootless and in a container and acl-restricted, stuff like that. Group them by usecase and how exposed they need to be. Exposed to the net means exposed to the enemy.

[–] MalReynolds@piefed.social 3 points 23 hours ago

Doors and Corners, paranoid bastards last( because you're protecting someone)

[–] CorrectAlias@piefed.blahaj.zone 6 points 1 day ago (1 children)

I believe opnsense with zenarmor can detect and block this sort of thing.

[–] MalReynolds@piefed.social 3 points 1 day ago (1 children)

Interesting, personally sort of waiting for a compelling (and cheap, sigh) piece of hardware for the router before implementing opnsense or equivalent. Still, seems like where it belongs, sure would be nice if there was a simple container solution instead though.

[–] lka1988@lemmy.dbzer0.com 1 points 8 hours ago

Once my UDM becomes unusable, I'm going full OPNSense with an Optiplex.