{
  "id": 4401385,
  "title": "🕳️ HomeLab Chronicles: Episode 9 - Tunnel Vision",
  "url": "https://urgent.news/2026/08/30/homelab-chronicles-episode-9-tunnel-vision",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-30T10:04:13.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/snskarora/homelab-chronicles-episode-9-tunnel-vision-c38"
  },
  "original_language": "en",
  "account": "In the ninth episode of the HomeLab Chronicles, the focus is on achieving internet-accessible Airflow from anywhere, without compromising security. The lab currently consists of two nodes, with Flux and Airflow functioning properly. However, the challenge lies in making Airflow accessible at airflow.sanskararora.in from any location, while avoiding the pitfalls of port forwarding, router unreliability, and public IP exposure.\n\nCloudflare Tunnel emerges as the solution, enabling secure, outbound-only access to the Airflow service. A small daemon called cloudflared runs within the Kubernetes cluster, establishing an outbound connection to Cloudflare's edge. Traffic from the domain then travels through this already-open connection, eliminating the need for inbound ports or exposing a public IP.\n\nTwo approaches to setting up Cloudflare Tunnel are presented: locally-managed and remotely-managed. The locally-managed method involves creating a tunnel on the machine using cloudflared tunnel create, with routing rules stored in a configuration file within the git repository. The remotely-managed method utilizes the Zero Trust dashboard, where a token is generated and the routing rules are live in the UI.\n\nThe remotely-managed tunnel is set up by creating a Deployment with two replicas and anti-affinity, ensuring the tunnel's resilience in the face of node failures. The tunnel's token is securely stored in a Secret, which is then referenced in the Deployment's environment variables. The Public Hostname is configured in the dashboard to map to the Airflow service, and the DNS record is automatically generated.\n\nAfter implementing the tunnel, the Airflow admin login can be accessed from anywhere, protected by one password and terminated within the house. However, the security concerns remain, as the system now serves as a juicy target for potential attackers. Despite this, the lesson learned is that outbound-only connections offer superior security, eliminating inbound holes and public IP exposure.",
  "summary": "Hey all 👋 State of the lab: two nodes, Flux in charge, Airflow alive, backups nightly, RBAC banished to therapy. The UI works from anywhere in the house. But \"in the house\" is a service radius measured in Wi-Fi bars, and I wanted my Airflow at airflow.sanskararora.in , from anywhere, like a person with a real platform and not two laptops fighting a router for their lives. The classic move is…",
  "key_points": [
    "HomeLab Chronicles Episode 9 focuses on internet-accessible Airflow without compromising security.",
    "Cloudflare Tunnel provides secure, outbound-only access to Airflow service.",
    "Locally-managed and remotely-managed methods presented for setting up Cloudflare Tunnel."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}