Earlier quoted context omitted.
Maybe I'm dumb, but I still don't quite understand the value-add of Tailscale over what Wireguard or some other VPN already provides. HN has tried to explain it to me but it just seems like sugar on top of a plain old VPN. Kind of like how "pi-hole" is just sugar on top of dnsmasq, and Plex is just sugar on top of file sharing.
> Plex is just sugar on top of file sharing. right, like browsers are just sugar on top of curl
CLI agents make self-hosting on a home server easier and fun
421–430 of 570 posts
Re: CLI agents make self-hosting on a home server easier and fun
#422Earlier quoted context omitted.
Ah… I really could not disagree more with that statement. I know we don’t want to trust BigCorp and whatnot, but a single exposed port and an incomplete understanding of what you’re doing is really all it takes to be compromised.
Even if you understand what you are doing, you are still exposed to every single security bug in all of the services you host. Most of these self hosted tools have not been through 1% of the security testing big tech services have.
Re: CLI agents make self-hosting on a home server easier and fun
#423Earlier quoted context omitted.
> Ideal if you have the resources (time, money, expertise). There are different levels of qualifications, convenience, and trust that shape what people can and will deploy. This defines where you draw the line - at owning every binary of every service you use, at compiling the binaries yourself, at checking the code that you compile. Wireguard is distributed by distros in official packages. You don't need time, money…
What about SMTP, IMAP(S), HTTP(S), various game servers parent mentioned have open ports for? Having a single port open for VPN access seems okay for me. That's what I did, But I don't want an "etc" involved in what has direct access to hardware/services in my house from outside.
Re: CLI agents make self-hosting on a home server easier and fun
#424Is it just a single docker-compose.yml with everything you want to run and 'docker compose up'?
Re: CLI agents make self-hosting on a home server easier and fun
#425Earlier quoted context omitted.
Someone would need your 256-bit key to do anything to an exposed Wireguard port.
In theory. In the same theory, someone would need your EC SSH key to do anything with an exposed SSH port. Practice is a separate question.
Wireguard is explicitly designed to not allow unauthenticated users to do anything, whereas SSH is explicitly designed to allow unauthenticated users to do a whole lot of things.
Re: CLI agents make self-hosting on a home server easier and fun
#426I have been self hosting since the late 90s, but I've always just installed everything on Bare metal. I hear more and more about these elaborate Docker setups. What does a setup like this actually look like? Is it just a single docker-compose.yml with everything you want to run and 'docker compose up'?
Re: CLI agents make self-hosting on a home server easier and fun
#427I'm working on something very similar, but I've found that if I'm not doing the work - I forget what has been set up and how its running a lot faster. For example - I have ZFS running with a 5-bay HDD enclosure, and I honestly can't remember any of the rules about import-ing / export-ing to stop / start / add / remove pools etc. I have to write many clear notes, and store them in a place where future me will find the…
If you need to run the command once, you can now run it again in the future.
It's very tempting to just paste some commands (or ask AI to do it) but writing simple scripts like this is an amazing solution to these kinds of problems.
Even if the scripts get outdated and no longer work (maybe it's a new version of X) it'll give you a snapshot of what was done before.
Re: CLI agents make self-hosting on a home server easier and fun
#428This posts lists inexpensive home servers, Tailscale and Claude Code as the big unlocks. I actually think Tailscale may be an even bigger deal here than sysadmin help from Claude Code at al. The biggest reason I had not to run a home server was security: I'm worried that I might fall behind on updates and end up compromised. Tailscale dramatically reduces this risk, because I can so easily configure it so my own devi…
I'd rather expose a Wireguard port and control my keys than introduce a third party like Tailscale. I am not sure why people are so afraid of exposing ports. I have dozens of ports open on my server including SMTP, IMAP(S), HTTP(S), various game servers and don't see a problem with that. I can't rule out a vulnerability somewhere but services are containerized and/or run as separate UNIX users. It's the way the Inter…
Re: CLI agents make self-hosting on a home server easier and fun
#429I've been building a home library system mainly for personal use, I want to run it cheaply so a $4 black Friday sale OVH vps is perfect. But I wanted decent deployments. Hosting a image repository cost 3-4x of the server. Sending over the container image took over an hour due to large image processing python dependencies. Solution? Had a think and a chat with Claude code, now I have blue-green deployments where I jus…
When using them with production code they are a liability more than a resource.
Re: CLI agents make self-hosting on a home server easier and fun
#430Agents are powerful. Even more so with skills and command line tools they can call to do things. You can even write custom tools (like I did) for them to use that allows for things like live debugging.
The tailscale piece to this setup is key.