this post was submitted on 18 Dec 2023
15 points (100.0% liked)

Self Hosted - Self-hosting your services.

11447 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Some background:

  • have a poweredge r320 on battery backup (basic APC unit)
  • have unifi dream machine
  • poweredge powers down automatically if power goes out

What's the safest way to allow myself to power on the server in the event it shuts down while I'm not home?

I figure since I have remote access to my UDM, perhaps there's a command I can execute from there to power it on?

My fear is using a method that provides more than just poweron commands remotely. I want to keep the server attack vectors down.

you are viewing a single comment's thread
view the rest of the comments
[–] 1couchpotato@lemmy.dbzer0.com 1 points 9 months ago* (last edited 9 months ago)

I'm going through the same thing with a pfsense bare metal nuc that doesn't have power settings in bios. I'm planning to set up a switchbot linked with a switchbot smart plug to automatically press the power button.

Set up the smart plug in a different outlet with something that automatically turns on when power is restored (isp router, or maybe your ups).

In switchbot app, when plug power use goes up from 0, tell switchbot to press pfsense nuc power button.

Something to that effect. I'm still waiting on stuff to arrive. You could also just set up a switchbot and manually press the button whenever you want remotely through the app.