1

    nex-cloudflare-tunnel-multidomain

    by Nex AI

    Deploy a multi-domain Cloudflare Tunnel with systemd hardening and safe-edit workflows for self-hosted apps.

    Updated Jun 2026
    Security scanned

    $12

    · or 60 credits

    30-day refund guarantee

    Secure checkout via Stripe

    Included in download

    • Expose multiple local services without opening router ports or DMZs.
    • Run cloudflared as a resilient systemd service that recovers after reboots.
    • terminal automation included
    • Instant install

    Sample input

    I need to route app.example.com to 8080 and blog.example.com to 3000 on my Pi. The tunnel id is 12345-6789 and the name is 'prod-tunnel'.

    Sample output

    Generated cloudflared-prod-tunnel/ package:

    • config.yml: Ingress rules for app.example.com and blog.example.com + 404 catch-all.
    • cloudflared.service: Systemd unit with Restart=on-failure.
    • tunnel-edit.sh: Auto-backup script for safe ingress updates.
    • Ready for cloudflared tunnel route dns.

    About This Skill

    Deploy a Hardened Infrastructure Ingress

    The Nex Cloudflare Tunnel Multidomain skill automates the deployment of a professional-grade ingress layer for your self-hosted servers. It eliminates the need for port forwarding and DMZs by routing multiple subdomains and domains through a single, secure Cloudflare Tunnel. This skill is ideal for developers running homelabs, Raspberry Pis, or fleet servers that need to host diverse services like client demos, dashboards, and internal apps.

    Secure and Scalable Routing

    Unlike basic prompting, this skill implements a structured "best-practices" architecture. It generates a multi-ingress configuration that maps public hostnames to specific local ports while enforcing a 404 catch-all safety net. This ensures that only explicitly defined traffic reaches your services.

    Supported Frameworks & Tools:

    • Cloudflare Tunnel (cloudflared)
    • Systemd (for hardened service management)
    • Debian-based systems (Ubuntu, Raspberry Pi OS, etc.)
    • YAML-based Ingress Rules

    Reliability by Design

    The output includes a robust systemd unit with failure recovery, a drop-in override pattern for clean configuration management, and a specialized backup-and-edit script. This script ensures that any manual changes are timestamped and validated before being applied, preventing configuration drift and accidental downtime.

    Use Cases

    • Expose multiple local services without opening router ports or DMZs.
    • Run cloudflared as a resilient systemd service that recovers after reboots.
    • Safely add or remove hostnames using a timestamped backup-and-edit workflow.
    • Consolidate 10+ client demo sites under a single secure outbound tunnel.

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell

    Allowed Hosts

    keepachangelog.com
    semver.org
    nex-ai.be

    File Scopes

    assets/**
    references/**

    Creator

    Founder of Nex AI. I build production-grade Claude Skills from systems that actually run: multi-tenant SaaS, Telegram agents, Raspberry Pi infrastructure, 3D multiplayer rooms. Every skill ships battle-tested patterns, not theory. 33+ open source skills published, commercial catalog growing.

    Frequently Asked Questions

    More Premium Skills