Infrastructure · since 2026
edgegate
The edge of my infrastructure as an API: a reverse proxy with automatic certificates, port forwarding over WireGuard and deployments on every machine — driven by one interface that the UI, scripts and AI agents all use.
- Status
- In production
- Period
- since 2026
- Area
- Infrastructure
- Role
- Design, development, operations
What it is about
For years my public server ran Nginx Proxy Manager: domains set up by hand, port forwarding in a second UI, firewall rules from the shell. edgegate replaces all of that with one API. nginx still serves the traffic, but edgegate writes its whole configuration, obtains the certificates from Let's Encrypt and supervises both. Public TCP and UDP ports are passed through a WireGuard tunnel to machines at home.
edgegate now also manages deployments on every machine in my home network: a push to Gitea builds an image, edgegate starts the new version next to the old one and switches over once it is healthy. This website reaches its server the same way.
Features
A tour of the UI. Addresses and domain names are blacked out in the images; click to enlarge.
Overview
What needs attention comes first: open problems, domains not answering, deployments, backups and certificates. Below are the latest deployments, backups and events.

Domains and certificates
Every domain with its target (container, agent or address), whether it is public or LAN only, with certificate, access control, requests per minute, error rate and response time. edgegate obtains the certificates from Let's Encrypt itself, wildcards via DNS-01.

Port forwarding
Public TCP and UDP ports go through the WireGuard tunnel to machines at home, such as game servers, with connections and data volume per forward.

Mesh and topology
Nodes and machines are grouped by site and zone. The topology shows how the members see each other, with the measured latency of every link.


Deployments
Every deployment with version, containers, domains and history. A new image from Gitea starts next to the old version; edgegate switches over once it is healthy and can go back to any older version.

How it is built
- One API for everything. Every operation is a Connect RPC call (JSON over HTTP, gRPC or gRPC-Web). The web UI uses the same interface as scripts and agents; an OpenAPI description and a guide for agents live under
/api. - Safe changes. Every nginx change is checked with
nginx -tbefore reloading; a rejected configuration never goes live. Firewall rules live in their own chains, are applied atomically, rolled back on failure and reconciled every 30 seconds — Docker, ufw and mailcow rules stay untouched. - Leaderless mesh. Several edgegate nodes (the VPS and machines on the LAN) share one configuration over WireGuard. Every node can change everything and keeps working on its own when the others are gone.
- Integrations. Certificates and a change-event log are delivered to Consul and Kafka (CloudEvents), with retry and catch-up after outages; sign-in through authentik outposts.
- One container. Go backend and SvelteKit UI (shadcn-svelte) in a single image, UI in English and German, usable on a phone.
What I take away
The key decision was not to treat the UI as a special case: because everything goes through the same API, I can hand routine tasks to a script or an AI agent just as well.