All projects

01 / Identity & access / 2026 — now

Raskal.

My own little enterprise. One login with MFA in front of everything I run, a hardened gateway at the edge, and boxes that update, back up, and report on themselves.

Status

Running

Stack

Authentik / OIDC / Caddy / GitLab / Guacamole / Docker / ESXi

1login for every app
6VMs on one MS-01
Nightlyupdates, backups, config commits
trace · opening GitLab from a coffee shophop 1/6

01The GitLab name resolves to my one public IP.

FIG. 01N2, the box Raskal runs onMS-01 · ESXi · 10G
N2GL.iNet CometKVM over IPN2 · MS-01ESXi host8-port switch2× SFP+10G fiberback to the core
FIG. 02Opening a private appCaddy forward auth
BrowserCaddyAuthentikAppGET the appforward auth: who is this?no sessiongo log inpassword + MFAGET again, with a sessioncheckallowed. proxy it

What it is

I wanted to reach my stuff from anywhere without opening a pile of ports. So I built it like a company would. Raskal is the practice run for the bigger HamLab portal.

Everything comes in through one gateway. The private apps behind it need an Authentik session first, and they only ever see traffic from that gateway. This site is the one public thing back there.

What I did

  • Set up Authentik as the identity provider. GitLab, Guacamole, and the game panel all sign in through OIDC with MFA.
  • Put Caddy at the edge with forward auth, ACME TLS, HSTS, and security headers. The IdP admin UI isn't reachable from outside.
  • Split it into zones on the UDM: a DMZ for the gateway, an internal zone for the apps, and a games zone that can't talk back in.
  • Locked down Docker's published ports with iptables, since Docker skips the host firewall.
  • Every VM commits its own config to Git each night. A secret scan runs first. If it finds anything, nothing gets pushed and I get a Discord ping.
  • This site runs on it now. I moved it off Vercel in November 2026.

What broke

  • Docker skips the host firewall. My published ports were wide open until I put rules in the DOCKER-USER chain.
  • Moving this site over, the gateway couldn't reach it. A tcpdump showed SYNs with no replies, and the culprit was my own iptables chain. I fixed it in the script that builds the rules, not with a one-off.
  • Caddy doesn't reload on docker compose up -d. You have to restart it.

Where it's at

Running every day. Next up is an SNI router so HamLab and Raskal can share one public IP.

The twelve things that broke on the way

NextHamLab