News for hackers. Stuff that matters.
Re:Ditching Obsidian and building my own by rafram on Sunday May 18, 2025 @02:27PM (#44023361)
The downside is that if you’re on a two-week vacation and your home network/server goes down on day two, there’s probably nothing you can do until you get home. If it’s hosted online, you can count on that 99.99…% uptime and SSH access no matter what.
Re:Ditching Obsidian and building my own by vhanda on Sunday May 18, 2025 @02:36PM (#44023418)
I think what they meant is that if it's hosted online / home-network, only allow access to all services through a VPN. Wireguard is relatively easy to setup, and you can configure all your services to only be available through wireguard.

Ever since ssh almost got backdoor-ed, the only thing "exposed" on my servers is Wireguard, which is UDP based and therefore harder to know if it's running. SSH also goes over wireguard.

Re:Ditching Obsidian and building my own by blooalien on Sunday May 18, 2025 @11:36PM (#44026340)
> ... Wireguard, which is UDP based and therefore harder to know if it's running.

Isn't it basically impossible to know if it's running unless you have an authorize key? I thought it didn't respond at all unless you ping a valid entry key off it.

Re:Ditching Obsidian and building my own by vhanda on Monday May 19, 2025 @04:08PM (#44034250)
Well, there is packet inspection. My ISP / Government will know.
Re:Ditching Obsidian and building my own by jauntywundrkind on Sunday May 18, 2025 @02:32PM (#44023387)
Ssh exposed on a non-standard port, with root disabled, using key-based auth should be pretty non-controversial.

The security through obscurity (non-standard port, no root) are both kinda silly but why not.

That said, with awesome services like TailScale, it's pretty hard to get locked out of your network. TailScale is so so good at "just working".

Re:Ditching Obsidian and building my own by batch12 on Sunday May 18, 2025 @03:39PM (#44023816)
> The security through obscurity (non-standard port, no root) are both kinda silly but why not

I think these are decent controls when layered with others. The effectiveness differs depending on your threat models, of course, but at the very least it helps reduce the noise seen from most automated scans reducing the effort involved in monitoring your assets.

Re:Ditching Obsidian and building my own by accrual on Sunday May 18, 2025 @03:29PM (#44023763)
Fail2ban or rate-limiting SSH into a block table are useful layers to have as well.
Re:Ditching Obsidian and building my own by cyberax on Sunday May 18, 2025 @03:54PM (#44023914)
Another option is port knocking. Super easy to set up and with 4 knocks it provides 64 bits of randomness.
Re:Ditching Obsidian and building my own by johnmaguire on Sunday May 18, 2025 @05:13PM (#44024355)
Disabling root provides more than security-through-obscurity if your sudo config requires a password to elevate: it essentially means you need both your SSH private key and your password to gain root.
Re:Ditching Obsidian and building my own by Zambyte on Sunday May 18, 2025 @02:58PM (#44023567)
These solutions are composable. Just run it on a VPS over a VPN.
Re:Ditching Obsidian and building my own by rafram on Sunday May 18, 2025 @03:18PM (#44023695)
That’s a good point.
Re:Ditching Obsidian and building my own by bloqs on Sunday May 18, 2025 @08:08PM (#44025298)
But what if your home hypervisor goes down?
Re:Ditching Obsidian and building my own by Zambyte on Sunday May 18, 2025 @09:05PM (#44025654)
Nothing. You probably though I said "VPN over a VPS", which would just be the same as a VPN, which isn't composing the solutions.
Re:Ditching Obsidian and building my own by akerl_ on Monday May 19, 2025 @12:33AM (#44026524)
You're suggesting to use a VPS in a thread that's specifically about self-hosting on a home network, and about there being cons to that compared to hosting on a cloud/VPS platform.

So you're sort of driving parallel to the existing commentary.

Re:Ditching Obsidian and building my own by Zambyte on Monday May 19, 2025 @06:26AM (#44028246)
The parent comment to mine did that.
Re:Ditching Obsidian and building my own by shellwizard on Monday May 19, 2025 @02:40AM (#44027033)
If you trust someone in your neighborhood/family, you can ask them to power cycle your host and water your plants
Re:Ditching Obsidian and building my own by accrual on Sunday May 18, 2025 @03:25PM (#44023744)
Although not perfect, I added a couple features to help ensure uptime:

* LAN components are on a UPS, helps keep continuity between power blips and breaker flips

* Dynamic DNS, cron runs a script 4x per day to ensure a DNS name points to my IP, even if issued a new one by the ISP

* Rebooting everything occasionally to ensure the network and services come back up on their own and I didn't make a mistake with some config that loads at boot, etc.

Re:Ditching Obsidian and building my own by dpkirchner on Monday May 19, 2025 @12:44AM (#44026558)
I run Tailscale on an Apple TV which is on a UPS. The thing uses very little power so the UPS lasts a long, long time.
Re:Ditching Obsidian and building my own by rasen58 on Monday May 19, 2025 @12:09PM (#44031341)
Do you have to hack the Apple TV to run tailscale on it or how does that work?
Re:Ditching Obsidian and building my own by dpkirchner on Monday May 19, 2025 @11:44PM (#44037594)
There's an official tvOS app and you just have to configure the Apple TV to be an exit node. It doesn't require any special setup otherwise.
Re:Ditching Obsidian and building my own by sammyteee on Sunday May 18, 2025 @04:28PM (#44024092)
You can also enjoy your vacation instead :)