Home Server — Overview

Server-level setup of the Raspberry Pi home server. Website-specific details are covered only where they touch the server.

Pages

Placeholder legend

PlaceholderMeaning
<HOSTNAME>Server hostname
<USER>Login user on the server
<LAN_SUBNET>Home network range (CIDR)
<LAN_IP>Server’s static LAN IP
<GATEWAY_IP>Router IP
<WIFI_PROFILE>NetworkManager Wi-Fi connection name
<SSH_PORT>Custom SSH port
<NOTES_PORT>Port of the notes site
<SONG_PORT>Localhost port of the song-rating site
<TAILSCALE_IP>Server’s tailnet IP
<TAILNET_DOMAIN>Tailnet MagicDNS domain (xxxx.ts.net)
<MAC_DEVICE> / <PHONE_DEVICE>Other tailnet device names
<GITHUB_USER> / <SONG_REPO>GitHub account / repo

Summary

  • Raspberry Pi Zero 2 W, Raspberry Pi OS (Trixie)
  • Static IP on the home LAN over Wi-Fi
  • SSH: custom port, keys only, no root login
  • UFW: deny all incoming, allow only LAN + tailnet
  • Fail2ban: sshd + recidive jails with incremental bans
  • nginx: notes site (LAN/tailnet), song-rating (localhost, behind Tailscale Serve)
  • Tailscale: remote access + HTTPS, nothing exposed to the internet
  • systemd timers auto-update both sites from GitHub