An unofficial, read-only Hacker News reader.

AI made self-hosting fun again (opens external site)

1162 points by jlelse 3 days ago | janlukas.blog | 550 comments on HN

View full thread · View on Hacker News

Comment thread (6)

  1. I have a public ip VPS proxying to my home lab and I’m wondering where to go for the least attack surface if I’m just running caddy and wireguard.

    Fedora CoreOS is an interesting offering, and Debian with unattended updates sounds good too. I like what SELinux can do for hardening the filesystem. Seems like even if a subprocess gets owned you get isolation from siblings.

    Replies (2)
    1. Same setup. I went with Debian. Non standard ssh port, no pass, key only and wireguard. So far so good.
      Replies (1)
      1. You're not gonna get pwned through SSH. You'll get pwned through some random dependency one of your things is using.
        Replies (1)
        1. Is that possible if there are only 2 open ports on the whole machine? Everything else is on the VPN. I think either SSH or WireGuard must have a vulnerability to get pwned.
          Replies (1)
          1. A recent CVE in GhostScript was responsible for an RCE in imagemagick. That means a box processing those files can get pwned without any open ports.
    2. Fedora IOT on a Raspberry Pi with automatic updates works pretty well too for internal network services (pihole, jellyfin etc)