SYNOPSIS
gureet [--security] [--infrastructure] [--free-software] [--privacy]
gureet --contact hello@gureet.ca
DESCRIPTION
gureet studies computer science at McMaster University and is most at home in the layers people rarely see: operating systems, networks and the infrastructure everything else runs on. gureet has run a homelab since 2022 and is aiming for security or infrastructure, ideally where the two meet, while staying curious about the rest of the field.
OPTIONS
- --security
- How systems fail, and how to make failure boring. Threat modeling, hardening, and learning to think like an attacker.
- --infrastructure
- Linux, networking, virtualization, and the plumbing that keeps services up: reverse proxies, DNS, monitoring and backups. Most of it learned by running a homelab; see ENVIRONMENT.
- --free-software
- Fedora Linux on the desktop, and tools that can be read, audited and fixed, preferably ones that keep working offline. Most of the code lives on GitHub.
- --privacy
- Collect less and encrypt the rest. A de-Googled phone on GrapheneOS, self-hosted services instead of rented ones, and a threat model for everything else.
ENVIRONMENT
gureet runs in a homelab, now on its third version. The rule is to self-host everything possible and keep personal data under local control.
remote devices | | inner wireguard v +-- vps -----------------------------------+ | wireguard outer tunnel to the homelab | | no keys to the inner tunnel | +---------------------+--------------------+ | | outer wireguard | (inner one inside) v trusted lan +-- homelab -------------------------------+ -- connects -->| caddy reverse proxy, access rules | <-- replies ---| firewall limits what devices reach | split-horizon | wireguard own LXC, ends inner tunnels | dns +---------------------+--------------------+ | | wireguard v immich · opencloud · vaultwarden · jellyfin searxng · frigate · ntfy · pocket-id · stirling-pdf · ...
remote devices | | inner wireguard v +-- vps -----------------------------------+ | wireguard outer tunnel to the homelab | | no keys to the inner tunnel | +--------------------+---------------------+ trusted lan | split-horizon | outer wireguard dns | (inner one inside) | ^ | v | replies v +-- homelab -------------------------------+ | caddy reverse proxy, access rules | | firewall limits what devices reach | | wireguard own LXC, ends inner tunnels | +--------------------+---------------------+ | | wireguard v immich · opencloud · vaultwarden jellyfin · searxng · frigate · ntfy pocket-id · stirling-pdf · ...
- CLUSTER
- Two Proxmox VE nodes, plus the Pi from v1 as a QDevice whose tie-breaking vote keeps the cluster in quorum when a node is down. Some services get full VMs; the rest run in LXC containers to save RAM.
- POWER
- Everything is on a UPS, router and ONT included, so the network and the low-wattage node ride out an outage. NUT shuts down the power-hungry node to save battery, and WOLNUT on the Pi wakes it when power returns.
- EDGE
- Nothing in the homelab is public. The only way in from outside is a VPS with a WireGuard tunnel to the house, and each device's own tunnel rides inside it. The VPS has no keys to those inner tunnels, so it can't read them.
- ACCESS
- The inner tunnels end in a container of their own at home. Firewall and Caddy rules limit what each VPN device can reach, and only the management VPN reaches everything. Pocket ID handles sign-in with passkeys.
- NETWORK
- OpenWrt splits trusted devices, servers, IoT and guests into separate VLANs; servers can answer trusted devices but never start a connection. VMs and containers talk to each other only over WireGuard, and internet traffic leaves through a VPN provider.
- DNS
- AdGuard Home and Unbound block ads and known-malicious domains. Split-horizon DNS keeps local traffic inside the house, and Unbound's queries leave through the VPN, so the ISP never sees a lookup. A local NTP server keeps the clocks honest.
- BACKUPS
- Anything important is encrypted before it leaves the house, then stored on a Hetzner Storage Box.
| NAME | TYPE | FOR |
|---|---|---|
| caddy | vm | reverse proxy; TLS ends here |
| pocket-id | vm | passkey sign-in (OIDC) |
| vaultwarden | vm | passwords |
| opencloud + euro-office | vm | files and office documents, instead of Google Drive |
| immich | vm | photos, instead of Google Photos |
| stirling-pdf | vm | PDF editing |
| jellyfin | lxc | movies, shows and music |
| feishin | lxc | a web music player for Jellyfin |
| frigate | lxc | security cameras (NVR) |
| searxng | lxc | search |
| adguard + unbound | lxc | DNS, ads and malware blocking |
| ntfy | lxc | push notifications without Google |
| prometheus + grafana | lxc | monitoring |
| wireguard | lxc | remote access; device tunnels end here |
| corosync-qnetd | pi | the cluster's tie-breaking vote |
| wolnut | pi | wakes the big node after an outage |
PROJECTS
- wglink
-
WireGuard between Linux machines from one inventory file: list them, preview the change with
wglink plan, make it withwglink apply, and check every tunnel withwglink status. One static binary with no agent, no coordination server and no account. It reaches machines over SSH,docker execor Proxmox, builds full-mesh or hub-and-spoke networks, and leaves plainwg-quickconfigs behind. Private keys are made on the machines that use them and never leave. - remapd
-
A daemon and app that make every button on a Bluetooth TV remote work on Android TV and Google TV, with no root. The daemon, written in C and started over ADB, rewrites a button's entry in the kernel's keymap or presses its key on a virtual remote; the app sets up each button as you press it. After a restart, the app starts the daemon again through the TV's own wireless debugging, signing in with an adb key that never leaves the TV.
- kasad
-
Offline control for TP-Link Kasa smart plugs that speak the local protocol, over the LAN with no cloud account and no internet. It runs a weekly schedule that catches up after an outage, keeps the plug's clock set, and serves a web app and a JSON API with password sign-in. One Go binary with no third-party dependencies, run by systemd or as a non-root container.
- plasmain progress
-
An IPTV player for Android TV that is also the TV's home screen: press Home and your channel keeps playing behind the guide, movies, series and your apps. It can replace Google TV's home screen from the TV itself through its own ADB client, saves recordings so Jellyfin picks them up, and turns your phone into a remote with nothing to install. It brings no channels of its own, and has no ads, analytics or accounts.
- kamae
-
A workout journal built around training days: plan your split once, then pick a day and tick off your sets. The iPhone app (SwiftUI) and the Android app (Jetpack Compose) share one Kotlin Multiplatform core for their data and rules, so both store, count and back up the same way, with no accounts and no internet access. Formerly Kitae, it shares its design and backups, but no code, with Kitae for Android, my fork of LooKeR's Kenko. In beta on both phones, and part of Koyomi, my open-source health apps.
- fastfahr
-
A marketplace for buying and selling German cars, built by a team of four, with photo listings, search by vehicle specs, bookmarks and buyer–seller messages. A React single-page app on a PHP and MySQL back end.
My part: user authentication and profile management.
- Passwords hashed with bcrypt, and a fresh session ID at every login.
- Password resets with single-use 256-bit codes that are stored hashed, expire after an hour, and never reveal whether an email has an account.
- Profile pictures checked by their contents rather than their names, with SVGs refused. I tested it with a disguised PHP script, a PNG named
shell.phpand an SVG hiding a script; all three were rejected. - Prepared statements for every query in the user and reset code, and profile edits that can only touch the signed-in user's own account.
More at github.com/gureetk.
HISTORY
gureet first appeared at McMaster University in 2024.
- 2025 – nowHomelab v3. A two-node Proxmox cluster with a Raspberry Pi QDevice and a VPS edge. See ENVIRONMENT.
- 2024 – nowHonours Computer Science Co-op (B.A.Sc.), McMaster University. Third year.
- 2023 – 2025Homelab v2. A single Ubuntu server.
- 2022 – 2023Homelab v1. A Raspberry Pi 3B+ running two services. It's still running, as v3's QDevice.
FILES
- ~/.ssh/id_ed25519.pub
-
SSH public keys, one per device, also at github.com/gureetk.keys and codeberg.org/gureetk.keys. They also sign commits, so those show as Verified on both. Their fingerprints, drawn the way
ssh-keygendraws them:fedoraSHA256:/X4a2o6s2JVYqz3o2pUTeYZvK8GtDCy8Ci2h52ZuQjk macSHA256:a0/xc5iKe0M0UJldzKn7mZzRuy9obPk4dBwJQcY7NYE - /.well-known/security.txt
- How to report a security issue with this site.
SEE ALSO
- codeberg(1)
- codeberg.org/gureetk
- github(1)
- github.com/gureetk
- koyomi(1)
- fromkoyomi.org
- linkedin(1)
- linkedin.com/in/gureetk
- mail(1)
- hello@gureet.ca
BUGS
Known to disappear down rabbit holes for days at a time.
Once gave AdGuard Home so many overlapping blocklists that every refresh overloaded its container, and DNS stopped answering. Pruning the redundant lists fixed it. It was DNS.
Found a real one? Please report it the way security.txt describes.
AUTHOR
Written by Gureet Kharod.
This page loads no trackers, sets no cookies and makes no third-party requests. It reads fine with JavaScript turned off, including in Tor Browser's Safest mode. Set in Iosevka and Atkinson Hyperlegible, both free fonts. Source at github.com/gureetk/personal_site.