setup-cloudflare-tunnel

Configure Cloudflare Tunnels for NixOS/macOS hosts with agenix-encrypted credentials.

8|1|Updated Oct 21, 2015
One-click install
npx skills add https://github.com/iamruinous/nix-config --skill setup-cloudflare-tunnel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-cloudflare-tunnel
Source: https://github.com/iamruinous/nix-config/tree/main/.opencode/skills/setup-cloudflare-tunnel
Command: npx skills add https://github.com/iamruinous/nix-config --skill setup-cloudflare-tunnel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Expose internal services to the internet securely without opening firewall ports.

Core Features & Use Cases

  • Per-host Cloudflare Tunnel setup and management for NixOS/macOS environments.
  • Encrypted credential handling with agenix and per-host configuration.
  • Integrated deployment workflow including DNS and reverse proxy updates.

Quick Start

Run the setup-cloudflare-tunnel skill to create and configure a tunnel for one host and domain.

Frequently Asked Questions about setup-cloudflare-tunnel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I expose local services to the internet without opening firewall ports?

Cloudflare Tunnel securely exposes local services to the internet without opening firewall ports by routing outbound connections through Cloudflare's network, eliminating inbound exposure.

Can I configure Cloudflare Tunnel on NixOS with encrypted credentials?

Yes, you can configure Cloudflare Tunnel on NixOS using cloudflared with encrypted credentials, leveraging agenix to securely manage per-host tunnel authentication secrets.

How do I manage multi-host Cloudflare Tunnel setups across NixOS and macOS?

Multi-host Cloudflare Tunnel setups are managed by assigning per-host tunnel names and public domains, integrating DNS records and Caddy reverse proxy updates across NixOS and macOS environments.

Does setting up cloudflared require manual DNS and reverse proxy configuration?

No, setting up cloudflared integrates automated DNS record creation and Caddy reverse proxy updates directly into the deployment workflow, streamlining the process of routing public domains to internal services.

What is the best way to handle Cloudflare authentication credentials in NixOS?

The best way to handle Cloudflare authentication credentials in NixOS is encrypting them with agenix, ensuring per-host configuration secrets remain secure during deployment and runtime.