this post was submitted on 06 Feb 2024
182 points (99.5% liked)

Selfhosted

40133 readers
544 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

As the title says, I want to know the most paranoid security measures you've implemented in your homelab. I can think of SDN solutions with firewalls covering every interface, ACLs, locked-down/hardened OSes etc but not much beyond that. I'm wondering how deep this paranoia can go (and maybe even go down my own route too!).

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 42 points 9 months ago* (last edited 9 months ago) (4 children)

Never used it "in anger" but:

I have my firewall plugged into a metered outlet (plugged into a UPS). I have it set up to send me alerts if power draw increases beyond a certain threshold. I've tested it and wireguard is measurable (yay) but so are DDOS attacks. If I get that alert, I can choose to turn off that plug and take my whole network offline until I get home and can sort that out.

Gotten a few false positives over the years but mostly that is just texting my partner to ask what they are doing.

[–] [email protected] 5 points 9 months ago

Aren't you just DoSing yourself at that point?

[–] [email protected] 3 points 9 months ago

Well damn that's clever. I will have to try that.

[–] [email protected] 2 points 9 months ago (1 children)

Or you could trigger automation that turns it off for hours, then turns it back on. That way you could get around the need to physically turn it on, in case everyone is away.

[–] [email protected] 10 points 9 months ago

With my firewall disabled a lot of my internal network (including home assistant) will fall over sooner than later.

But that is also a recipe for mass stress. Because I know "something happened". And now I know "in six hours, I need to check in and make sure that 'something' is still not happening". Which is extra shitty if I got the notification late evening local time.

I have friends/neighbors that I trust to swing by and push a button in the event I need to bring it back up before I get home. But if I have reached the point of "it is possible my wireguard credentials were compromised?" then I really don't need to be able to download the next episode of ATLA NOW.

[–] [email protected] 5 points 9 months ago (1 children)

Care to share what outlet you had success with? I'm comfortable with Home Assistant and ZigBee/Z-Wave. Something this critical probably shouldn't be wireless, but I digress. I'm also interested in what software you're using for monitoring and alerts (if you're willing to share). Cheers!

[–] [email protected] 4 points 9 months ago (1 children)

I just use a pretty generic z-wave plug and home assistant. In the past I did more complex setups that actually determine what process is spiking and so forth. But eventually realized that "this is doing a lot of compute..." is a catch all for a LOT of potential issues.

And I guess I don't understand what you mean by "shouldn't be wireless". It is inherently going to be wireless because you will be on your phone on the other side of the planet. If you genuinely suspect you will be vulnerable to attacks of this scale then you.... probably have other things to worry about.

But as a safety blanket?

[–] [email protected] 1 points 9 months ago

Gotcha. A ZigBee/Z-wave plug was the first thing that came to mind. I'll probably go the same route. I was merely saying that wireless-anything is less dependable than wired. But I don't even know if wired smart plugs exist. I use wireless sensors around my home and I've never had an issue with dependability. I definitely wasn't considering Z-wave as a local attack vector. I was just brainstorming some way to avoid a wireless solution for something where dependability is paramount.