Home Server — Overview
Server-level setup of the Raspberry Pi home server. Website-specific details are covered only where they touch the server.
Pages
- 01 - Host
- 02 - Networking
- 03 - SSH
- 04 - Firewall (UFW)
- 05 - Fail2ban
- 06 - Nginx
- 07 - Tailscale
- 08 - Custom Systemd Timers
- 09 - Maintenance Timers
- 10 - Port & Access Map
Placeholder legend
| Placeholder | Meaning |
|---|---|
<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+recidivejails 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