NAS Cloudflare Deploy

    1

    Deploy Synology NAS apps and games to custom domains via Cloudflare Tunnel without port forwarding.

    $3

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    NAS Cloudflare Deploy

    Example session with this skill installed

    I want to deploy my web game from my Synology NAS to game.mydomain.tw using Cloudflare Tunnel. I bought the domain on PChome.

    • Read your context and instructions
    • Compiled the nas cloudflare deploy

    I will help you set up the deployment for your web game using Cloudflare Tunnel and Nginx on your Synology NAS.

    Deployment Configuration

    First, update your PChome DNS settings to use Cloudflare Nameservers. Ensure the IP and IPv6 fields are left blank.

    1. Nginx Configuration (nginx.conf)

    Create this file in your project folder to enable Gzip compression and prevent caching issues.

    events { worker_connections 1024; }
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
        gzip on;
        gzip_types text/plain text/css application/javascript application/json image/svg+xml;
        server {
            listen 80;
            root /usr/share/nginx/html;
            index index.html;
            location = /index.html {
                add_header Cache-Control "no-cache, no-store, must-revalidate";
            }
            location / {
                try_files $uri $uri/ /index.html;
                expires 7d;
            }
        }
    }
    

    2. Docker Compose (docker-compose.yml)

    Place your build files in a dist/ directory and use the following compose file in Synology Container Manager.

    version: '3.8'
    services:
      game:
        image: nginx:alpine
        container_name: game-web
        restart: unless-stopped
        volumes:
          - ./dist:/usr/share/nginx/html:ro
          - ./nginx.conf:/etc/nginx/nginx.conf:ro
      tunnel:
        image: cloudflare/cloudflared:latest
        container_name: game-tunnel
        restart: unless-stopped
        command: tunnel --no-autoupdate run --token <YOUR_CLOUDFLARE_TOKEN>
        depends_on:
          - game
    

    Next steps

    • Copy your game files into the dist/ folder on your NAS.
    • Create a Public Hostname in Cloudflare Zero Trust pointing game.mydomain.tw to http://game:80.
    • Verify the connection by visiting your subdomain.
    2. Docker Compose (docker-compose.yml

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Safely expose your Synology NAS local services, web games, or Docker applications to custom domains using Cloudflare Tunnel (cloudflared).

    Why Use This Skill? Zero Port Forwarding: Protect your home IP and internal network without opening router ports. Taiwan Domain Registrar Support: Includes step-by-step DNS delegation for PChome, HiNet, and TWNIC to Cloudflare. Nginx Security Isolation: Mounts only necessary static/dist assets, preventing private repository or token leaks. Free SSL & DDoS Protection: Automatically leverages Cloudflare Edge certificates. Prerequisites A Synology NAS supporting Container Manager (Docker). A Cloudflare account and a custom domain.

    💡 Open-Source Supporter Edition This listing is the 1-Click Install / Supporter Edition. Purchasing supports the creator and saves setup time. The core implementation is also open-source on GitHub: https://github.com/Qhc2981/skill-nas-cloudflare-deploy

    Requires Synology Container Manager. Effectiveness is bound by home network upload speeds. Does not support NAS models without Docker capability.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Accounts
    ClouldflareCloudflare Account
    Software
    Synology NAS with Container Manager

    Ensure Container Manager (Docker) is installed and active on your Synology NAS.

    Permissions

    Read Files
    Write Files
    Terminal / Shell

    Allowed Hosts

    api.cloudflare.com
    clouldflare.com

    File Scopes

    docker-compose.yml
    nginx.conf

    Used to inspect and generate Docker Compose and Nginx configuration files for deployment.

    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill eliminates the need for port forwarding and public IPs, protecting your home network from cyberattacks while bypassing CGNAT restrictions often found with home ISPs.

    The skill is compatible with any LLM or AI agent capable of generating configuration files and executing terminal commands, such as ChatGPT (GPT-4), Claude 3, or specialized DevOps agents.

    You will receive production-ready Docker Compose templates, optimized Nginx configuration files, and a step-by-step workflow for DNS delegation and tunnel provisioning.

    No, this skill is specifically architected for Synology DSM's Container Manager and handles unique Synology-specific behaviors like Inode-safe volume mounting that standard Linux setups ignore.

    The skill includes specific Nginx cache-control headers and Gzip compression settings designed to maximize performance even on home connections with limited upload bandwidth.

    Updates are released periodically to align with Synology DSM updates and Cloudflare's tunneling protocol changes; buyers receive lifetime access to all future versions of the skill.

    New in DevOps & Cloud