[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F4P6V1ZE2TANFZ308DVVEC":3,"skill-same:01M6F4P6V1ZE2TANFZ308DVVEC":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":33,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6F4P6V1ZE2TANFZ308DVVEC","cloudflare-zero-trust",null,"Protect internal apps with Cloudflare Access, device posture, and Zero Trust policies.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-cloudflare-zero-trust\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"cloudflare","cloudflare zero trust","zero trust","trust","ZeRO","platform","2026","security","relevant","helper","scripts","apps","critical","os","devops-security","main","license","community","agent-skills","only","access","2026-11-10 10:12:30",false,"---\nname: cloudflare-zero-trust\ndescription: Protect internal apps with Cloudflare Access, device posture, and Zero\n  Trust policies.\ncategory: devops\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\nsource_repo: BagelHole\u002FDevOps-Security-Agent-Skills\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Requires the relevant OS\u002Fplatform tooling and privileged access where\n  noted. Docs-only; helper scripts and templates not bundled.\nmetadata:\n  author: devops-skills\n  version: '1.0'\n---\n\n# Cloudflare Zero Trust\n\nSecure access to internal services without VPNs using Cloudflare's Zero Trust platform (Access, Tunnel, Gateway, and WARP).\n\n## When to Use\n\n- Replacing VPN access to internal web applications, SSH, or RDP.\n- Enforcing identity-aware access policies on internal tools (dashboards, admin panels).\n- Exposing on-premises or private-network services securely to remote teams.\n- Filtering DNS traffic to block malware, phishing, and shadow IT.\n- Enforcing device posture checks (managed devices, OS version, disk encryption).\n\n## Prerequisites\n\n- Cloudflare account with Zero Trust plan (free tier supports up to 50 users).\n- A domain on Cloudflare (for Access application hostnames).\n- Identity provider configured (Google Workspace, Okta, Azure AD\u002FEntra ID, GitHub).\n- `cloudflared` CLI installed on the server hosting internal services.\n\n```bash\n# Install cloudflared\n# macOS\nbrew install cloudflared\n\n# Debian\u002FUbuntu\ncurl -fsSL https:\u002F\u002Fpkg.cloudflare.com\u002Fcloudflare-main.gpg | sudo tee \u002Fusr\u002Fshare\u002Fkeyrings\u002Fcloudflare-main.gpg >\u002Fdev\u002Fnull\necho \"deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fcloudflare-main.gpg] https:\u002F\u002Fpkg.cloudflare.com\u002Fcloudflared $(lsb_release -cs) main\" | sudo tee \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fcloudflared.list\nsudo apt update && sudo apt install -y cloudflared\n\n# Docker\ndocker pull cloudflare\u002Fcloudflared:latest\n```\n\n## Cloudflare Tunnel Setup\n\nTunnels create encrypted outbound connections from your infrastructure to Cloudflare's edge, eliminating the need to open inbound ports.\n\n### Create and Configure a Tunnel\n\n```bash\n# Authenticate with Cloudflare\ncloudflared tunnel login\n\n# Create a named tunnel\ncloudflared tunnel create internal-apps\n\n# This creates credentials at ~\u002F.cloudflared\u002F\u003CTUNNEL_ID>.json\n\n# List tunnels\ncloudflared tunnel list\n\n# Route DNS to the tunnel (creates a CNAME record)\ncloudflared tunnel route dns internal-apps grafana.example.com\ncloudflared tunnel route dns internal-apps wiki.example.com\ncloudflared tunnel route dns internal-apps ssh.example.com\n```\n\n### Tunnel Configuration File\n\n```yaml\n# ~\u002F.cloudflared\u002Fconfig.yml\ntunnel: \u003CTUNNEL_ID>\ncredentials-file: \u002Fhome\u002Fdeploy\u002F.cloudflared\u002F\u003CTUNNEL_ID>.json\n\ningress:\n  # Grafana dashboard\n  - hostname: grafana.example.com\n    service: http:\u002F\u002Flocalhost:3000\n\n  # Internal wiki\n  - hostname: wiki.example.com\n    service: http:\u002F\u002Flocalhost:8080\n\n  # SSH access via browser\n  - hostname: ssh.example.com\n    service: ssh:\u002F\u002Flocalhost:22\n\n  # Catch-all — required as the last rule\n  - service: http_status:404\n```\n\nPrivate CIDRs are routes, not HTTP origin URLs. Configure a Tunnel CIDR route and authorized Cloudflare One Client\u002Fsplit-tunnel policy through the [private-network guide](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fnetworks\u002Fconnectors\u002Fcloudflare-tunnel\u002Fprivate-net\u002Fcloudflared\u002Fconnect-cidr\u002F).\n\n### Run the Tunnel\n\n```bash\n# Run in foreground (for testing)\ncloudflared tunnel run internal-apps\n\n# Install as a systemd service\nsudo cloudflared service install\nsudo systemctl enable cloudflared\nsudo systemctl start cloudflared\n\n# Or run via Docker\ndocker run -d --name cloudflared \\\n  --restart unless-stopped \\\n  -v \u002Fhome\u002Fdeploy\u002F.cloudflared:\u002Fetc\u002Fcloudflared \\\n  cloudflare\u002Fcloudflared:latest \\\n  tunnel run internal-apps\n```\n\n### Docker Compose with Tunnel\n\n```yaml\n# docker-compose.yml\nversion: \"3.8\"\nservices:\n  cloudflared:\n    image: cloudflare\u002Fcloudflared:latest\n    restart: unless-stopped\n    command: tunnel run\n    environment:\n      - TUNNEL_TOKEN=${TUNNEL_TOKEN}\n    networks:\n      - internal\n\n  grafana:\n    image: grafana\u002Fgrafana:latest\n    networks:\n      - internal\n\n  wiki:\n    image: requarks\u002Fwiki:2\n    networks:\n      - internal\n\nnetworks:\n  internal:\n    driver: bridge\n```\n\n## Access Policies\n\nA Tunnel does not itself add user authentication. Configure and test Access before exposing the hostname: unauthorized requests must fail, authorized identities must succeed, and direct origin access must be constrained. Protect generated service-token responses and pass secret headers through protected stdin\u002Fconfig rather than logged process arguments. Verify current plans, DNS endpoints, browser-SSH requirements and policy schemas; static examples may drift. See [Access policy evaluation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Faccess-controls\u002Fpolicies\u002F).\n\nAccess policies control who can reach applications behind Cloudflare.\n\n### Create an Access Application\n\n```bash\n# Via API — create a self-hosted application\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Faccess\u002Fapps\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Grafana\",\n    \"domain\": \"grafana.example.com\",\n    \"type\": \"self_hosted\",\n    \"session_duration\": \"12h\",\n    \"auto_redirect_to_identity\": true,\n    \"allowed_idps\": [\"\u003CIDP_UUID>\"]\n  }'\n```\n\n### Policy Types and Examples\n\n```bash\n# Allow policy — members of the engineering group\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Faccess\u002Fapps\u002F\u003CAPP_ID>\u002Fpolicies\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Engineering Team\",\n    \"decision\": \"allow\",\n    \"include\": [\n      { \"group\": { \"id\": \"\u003CGROUP_UUID>\" } }\n    ],\n    \"require\": [\n      { \"login_method\": { \"id\": \"\u003CMFA_METHOD_UUID>\" } }\n    ]\n  }'\n```\n\n### Common Policy Patterns\n\n| Pattern | Include Rule | Require Rule |\n|---------|-------------|--------------|\n| All employees | Email domain `@company.com` | - |\n| Engineering only | Access Group \"Engineering\" | MFA |\n| Contractors (time-limited) | Email list | Device posture |\n| CI\u002FCD automation | Service token | - |\n| External partners | Specific emails | Country check |\n\n### Service Tokens for Automation\n\n```bash\n# Create a service token for CI\u002FCD\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Faccess\u002Fservice_tokens\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"github-actions-deploy\"}'\n\n# Response includes Client ID and Client Secret\n# Use in CI with headers:\n# CF-Access-Client-Id: \u003CCLIENT_ID>\n# CF-Access-Client-Secret: \u003CCLIENT_SECRET>\n```\n\n```bash\n# Use service token in CI\u002FCD\ncurl -H \"CF-Access-Client-Id: $CF_CLIENT_ID\" \\\n     -H \"CF-Access-Client-Secret: $CF_CLIENT_SECRET\" \\\n     https:\u002F\u002Fgrafana.example.com\u002Fapi\u002Fhealth\n```\n\n## Device Posture Checks\n\nEnforce endpoint requirements before granting access.\n\n### Configure Posture Checks (Dashboard)\n\n1. Go to **Settings > WARP Client > Device posture**.\n2. Add checks:\n   - **Disk encryption**: Require FileVault (macOS) or BitLocker (Windows).\n   - **OS version**: Minimum macOS 14.0 or Windows 11.\n   - **Firewall**: Ensure host firewall is enabled.\n   - **Crowdstrike\u002FSentinelOne**: Verify EDR agent is running.\n3. Reference posture checks in Access policies under **Require** rules.\n\n## Gateway DNS Filtering\n\nBlock malicious domains and enforce acceptable use policies at the DNS level.\n\n### DNS Locations\n\n```bash\n# Configure DNS endpoints for offices or networks\n# Dashboard: Gateway > DNS Locations > Add a location\n# Assign the Gateway DNS IPs to your network's DNS resolver:\n# IPv4: 172.64.36.1, 172.64.36.2\n# IPv6: 2606:4700:4700::1111\n# DoH: https:\u002F\u002F\u003CUNIQUE_ID>.cloudflare-gateway.com\u002Fdns-query\n```\n\n### DNS Policies\n\n```bash\n# Create a DNS policy to block malware and phishing\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Fgateway\u002Frules\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Block Security Threats\",\n    \"enabled\": true,\n    \"action\": \"block\",\n    \"traffic\": \"any(dns.security_category[*] in {80 83 131 134 151 153})\",\n    \"filters\": [\"dns\"]\n  }'\n```\n\n### Common DNS Policy Rules\n\n| Rule Name | Traffic Expression | Action |\n|-----------|-------------------|--------|\n| Block malware | `any(dns.security_category[*] in {80 83})` | Block |\n| Block phishing | `any(dns.security_category[*] in {131 134})` | Block |\n| Block social media | `any(dns.content_category[*] in {75})` | Block |\n| Allow exceptions | `dns.fqdn == \"allowed.example.com\"` | Allow |\n\n## WARP Client Deployment\n\nDeploy the Cloudflare WARP client to route traffic through Gateway.\n\n```bash\n# MDM deployment — macOS configuration profile\n# Use Cloudflare's managed deployment:\n# Dashboard: Settings > WARP Client > Device enrollment\n\n# Manual enrollment\n# 1. Install WARP client from https:\u002F\u002F1.1.1.1\n# 2. Click gear icon > Account > Login with Cloudflare Zero Trust\n# 3. Enter your team name (from Settings > General)\n\n# Verify WARP is connected\ncurl https:\u002F\u002Fconnectivity.cloudflare.com\u002Fcdn-cgi\u002Ftrace\n# Look for: warp=on\n```\n\n### WARP Split Tunnels\n\n```bash\n# Configure split tunnels to exclude certain traffic from WARP\n# Dashboard: Settings > WARP Client > Device settings > Split Tunnels\n\n# Exclude mode (default): WARP handles everything except listed IPs\n# Include mode: WARP only handles listed IPs\u002Fdomains\n\n# Common exclusions:\n# - Local network: 192.168.0.0\u002F16, 10.0.0.0\u002F8\n# - Video conferencing: zoom.us, *.teams.microsoft.com\n# - Printer subnets\n```\n\n## SSH and Browser-Based Terminal\n\n```yaml\n# In cloudflared config.yml — expose SSH via browser rendering\ningress:\n  - hostname: ssh.example.com\n    service: ssh:\u002F\u002Flocalhost:22\n```\n\n```bash\n# Users access ssh.example.com in their browser\n# Cloudflare renders an in-browser terminal after Access authentication\n\n# Or use cloudflared on the client side for native SSH\ncloudflared access ssh --hostname ssh.example.com\n\n# Add to SSH config for seamless access\n# ~\u002F.ssh\u002Fconfig\n# Host ssh.example.com\n#   ProxyCommand \u002Fusr\u002Flocal\u002Fbin\u002Fcloudflared access ssh --hostname %h\n```\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| Tunnel shows `ERR` in dashboard | `cloudflared` not running or config error | Check `systemctl status cloudflared`; validate config YAML |\n| Access returns 403 despite correct identity | Policy order or missing require rule | Check action precedence: Bypass\u002FService Auth first, then ordered Allow\u002FBlock; review the matched policy instead of blindly moving Allow above Block |\n| WARP shows \"Unable to connect\" | Team name wrong or enrollment disabled | Verify team name in Settings > General; check enrollment permissions |\n| Service token auth fails | Token expired or wrong headers | Regenerate token; use both `CF-Access-Client-Id` and `CF-Access-Client-Secret` |\n| DNS filtering not blocking | Client not using Gateway DNS resolvers | Verify DNS is set to 172.64.36.1; check WARP is connected |\n| Tunnel latency spikes | Tunnel running on overloaded host | Monitor `cloudflared` resource usage; run on dedicated infra |\n| \"No healthy origins\" error | Backend service is down | Check the service at the configured ingress port; review `cloudflared` logs |\n\n## Related Skills\n\n- cloudflare-workers (`cloudflare-workers`) - Edge compute behind Access policies\n- dns-management (`dns-management`) - DNS routing and record management\n- reverse-proxy (`reverse-proxy`) - Alternative gateway patterns\n- service-mesh (`service-mesh`) - Internal service-to-service security\n\n## Limitations\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n","# Cloudflare Zero Trust\n\nSecure access to internal services without VPNs using Cloudflare's Zero Trust platform (Access, Tunnel, Gateway, and WARP).\n\n## When to Use\n\n- Replacing VPN access to internal web applications, SSH, or RDP.\n- Enforcing identity-aware access policies on internal tools (dashboards, admin panels).\n- Exposing on-premises or private-network services securely to remote teams.\n- Filtering DNS traffic to block malware, phishing, and shadow IT.\n- Enforcing device posture checks (managed devices, OS version, disk encryption).\n\n## Prerequisites\n\n- Cloudflare account with Zero Trust plan (free tier supports up to 50 users).\n- A domain on Cloudflare (for Access application hostnames).\n- Identity provider configured (Google Workspace, Okta, Azure AD\u002FEntra ID, GitHub).\n- `cloudflared` CLI installed on the server hosting internal services.\n\n```bash\n# Install cloudflared\n# macOS\nbrew install cloudflared\n\n# Debian\u002FUbuntu\ncurl -fsSL https:\u002F\u002Fpkg.cloudflare.com\u002Fcloudflare-main.gpg | sudo tee \u002Fusr\u002Fshare\u002Fkeyrings\u002Fcloudflare-main.gpg >\u002Fdev\u002Fnull\necho \"deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fcloudflare-main.gpg] https:\u002F\u002Fpkg.cloudflare.com\u002Fcloudflared $(lsb_release -cs) main\" | sudo tee \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fcloudflared.list\nsudo apt update && sudo apt install -y cloudflared\n\n# Docker\ndocker pull cloudflare\u002Fcloudflared:latest\n```\n\n## Cloudflare Tunnel Setup\n\nTunnels create encrypted outbound connections from your infrastructure to Cloudflare's edge, eliminating the need to open inbound ports.\n\n### Create and Configure a Tunnel\n\n```bash\n# Authenticate with Cloudflare\ncloudflared tunnel login\n\n# Create a named tunnel\ncloudflared tunnel create internal-apps\n\n# This creates credentials at ~\u002F.cloudflared\u002F\u003CTUNNEL_ID>.json\n\n# List tunnels\ncloudflared tunnel list\n\n# Route DNS to the tunnel (creates a CNAME record)\ncloudflared tunnel route dns internal-apps grafana.example.com\ncloudflared tunnel route dns internal-apps wiki.example.com\ncloudflared tunnel route dns internal-apps ssh.example.com\n```\n\n### Tunnel Configuration File\n\n```yaml\n# ~\u002F.cloudflared\u002Fconfig.yml\ntunnel: \u003CTUNNEL_ID>\ncredentials-file: \u002Fhome\u002Fdeploy\u002F.cloudflared\u002F\u003CTUNNEL_ID>.json\n\ningress:\n  # Grafana dashboard\n  - hostname: grafana.example.com\n    service: http:\u002F\u002Flocalhost:3000\n\n  # Internal wiki\n  - hostname: wiki.example.com\n    service: http:\u002F\u002Flocalhost:8080\n\n  # SSH access via browser\n  - hostname: ssh.example.com\n    service: ssh:\u002F\u002Flocalhost:22\n\n  # Catch-all — required as the last rule\n  - service: http_status:404\n```\n\nPrivate CIDRs are routes, not HTTP origin URLs. Configure a Tunnel CIDR route and authorized Cloudflare One Client\u002Fsplit-tunnel policy through the [private-network guide](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fnetworks\u002Fconnectors\u002Fcloudflare-tunnel\u002Fprivate-net\u002Fcloudflared\u002Fconnect-cidr\u002F).\n\n### Run the Tunnel\n\n```bash\n# Run in foreground (for testing)\ncloudflared tunnel run internal-apps\n\n# Install as a systemd service\nsudo cloudflared service install\nsudo systemctl enable cloudflared\nsudo systemctl start cloudflared\n\n# Or run via Docker\ndocker run -d --name cloudflared \\\n  --restart unless-stopped \\\n  -v \u002Fhome\u002Fdeploy\u002F.cloudflared:\u002Fetc\u002Fcloudflared \\\n  cloudflare\u002Fcloudflared:latest \\\n  tunnel run internal-apps\n```\n\n### Docker Compose with Tunnel\n\n```yaml\n# docker-compose.yml\nversion: \"3.8\"\nservices:\n  cloudflared:\n    image: cloudflare\u002Fcloudflared:latest\n    restart: unless-stopped\n    command: tunnel run\n    environment:\n      - TUNNEL_TOKEN=${TUNNEL_TOKEN}\n    networks:\n      - internal\n\n  grafana:\n    image: grafana\u002Fgrafana:latest\n    networks:\n      - internal\n\n  wiki:\n    image: requarks\u002Fwiki:2\n    networks:\n      - internal\n\nnetworks:\n  internal:\n    driver: bridge\n```\n\n## Access Policies\n\nA Tunnel does not itself add user authentication. Configure and test Access before exposing the hostname: unauthorized requests must fail, authorized identities must succeed, and direct origin access must be constrained. Protect generated service-token responses and pass secret headers through protected stdin\u002Fconfig rather than logged process arguments. Verify current plans, DNS endpoints, browser-SSH requirements and policy schemas; static examples may drift. See [Access policy evaluation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Faccess-controls\u002Fpolicies\u002F).\n\nAccess policies control who can reach applications behind Cloudflare.\n\n### Create an Access Application\n\n```bash\n# Via API — create a self-hosted application\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Faccess\u002Fapps\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Grafana\",\n    \"domain\": \"grafana.example.com\",\n    \"type\": \"self_hosted\",\n    \"session_duration\": \"12h\",\n    \"auto_redirect_to_identity\": true,\n    \"allowed_idps\": [\"\u003CIDP_UUID>\"]\n  }'\n```\n\n### Policy Types and Examples\n\n```bash\n# Allow policy — members of the engineering group\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Faccess\u002Fapps\u002F\u003CAPP_ID>\u002Fpolicies\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Engineering Team\",\n    \"decision\": \"allow\",\n    \"include\": [\n      { \"group\": { \"id\": \"\u003CGROUP_UUID>\" } }\n    ],\n    \"require\": [\n      { \"login_method\": { \"id\": \"\u003CMFA_METHOD_UUID>\" } }\n    ]\n  }'\n```\n\n### Common Policy Patterns\n\n| Pattern | Include Rule | Require Rule |\n|---------|-------------|--------------|\n| All employees | Email domain `@company.com` | - |\n| Engineering only | Access Group \"Engineering\" | MFA |\n| Contractors (time-limited) | Email list | Device posture |\n| CI\u002FCD automation | Service token | - |\n| External partners | Specific emails | Country check |\n\n### Service Tokens for Automation\n\n```bash\n# Create a service token for CI\u002FCD\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Faccess\u002Fservice_tokens\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"github-actions-deploy\"}'\n\n# Response includes Client ID and Client Secret\n# Use in CI with headers:\n# CF-Access-Client-Id: \u003CCLIENT_ID>\n# CF-Access-Client-Secret: \u003CCLIENT_SECRET>\n```\n\n```bash\n# Use service token in CI\u002FCD\ncurl -H \"CF-Access-Client-Id: $CF_CLIENT_ID\" \\\n     -H \"CF-Access-Client-Secret: $CF_CLIENT_SECRET\" \\\n     https:\u002F\u002Fgrafana.example.com\u002Fapi\u002Fhealth\n```\n\n## Device Posture Checks\n\nEnforce endpoint requirements before granting access.\n\n### Configure Posture Checks (Dashboard)\n\n1. Go to **Settings > WARP Client > Device posture**.\n2. Add checks:\n   - **Disk encryption**: Require FileVault (macOS) or BitLocker (Windows).\n   - **OS version**: Minimum macOS 14.0 or Windows 11.\n   - **Firewall**: Ensure host firewall is enabled.\n   - **Crowdstrike\u002FSentinelOne**: Verify EDR agent is running.\n3. Reference posture checks in Access policies under **Require** rules.\n\n## Gateway DNS Filtering\n\nBlock malicious domains and enforce acceptable use policies at the DNS level.\n\n### DNS Locations\n\n```bash\n# Configure DNS endpoints for offices or networks\n# Dashboard: Gateway > DNS Locations > Add a location\n# Assign the Gateway DNS IPs to your network's DNS resolver:\n# IPv4: 172.64.36.1, 172.64.36.2\n# IPv6: 2606:4700:4700::1111\n# DoH: https:\u002F\u002F\u003CUNIQUE_ID>.cloudflare-gateway.com\u002Fdns-query\n```\n\n### DNS Policies\n\n```bash\n# Create a DNS policy to block malware and phishing\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Fgateway\u002Frules\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Block Security Threats\",\n    \"enabled\": true,\n    \"action\": \"block\",\n    \"traffic\": \"any(dns.security_category[*] in {80 83 131 134 151 153})\",\n    \"filters\": [\"dns\"]\n  }'\n```\n\n### Common DNS Policy Rules\n\n| Rule Name | Traffic Expression | Action |\n|-----------|-------------------|--------|\n| Block malware | `any(dns.security_category[*] in {80 83})` | Block |\n| Block phishing | `any(dns.security_category[*] in {131 134})` | Block |\n| Block social media | `any(dns.content_category[*] in {75})` | Block |\n| Allow exceptions | `dns.fqdn == \"allowed.example.com\"` | Allow |\n\n## WARP Client Deployment\n\nDeploy the Cloudflare WARP client to route traffic through Gateway.\n\n```bash\n# MDM deployment — macOS configuration profile\n# Use Cloudflare's managed deployment:\n# Dashboard: Settings > WARP Client > Device enrollment\n\n# Manual enrollment\n# 1. Install WARP client from https:\u002F\u002F1.1.1.1\n# 2. Click gear icon > Account > Login with Cloudflare Zero Trust\n# 3. Enter your team name (from Settings > General)\n\n# Verify WARP is connected\ncurl https:\u002F\u002Fconnectivity.cloudflare.com\u002Fcdn-cgi\u002Ftrace\n# Look for: warp=on\n```\n\n### WARP Split Tunnels\n\n```bash\n# Configure split tunnels to exclude certain traffic from WARP\n# Dashboard: Settings > WARP Client > Device settings > Split Tunnels\n\n# Exclude mode (default): WARP handles everything except listed IPs\n# Include mode: WARP only handles listed IPs\u002Fdomains\n\n# Common exclusions:\n# - Local network: 192.168.0.0\u002F16, 10.0.0.0\u002F8\n# - Video conferencing: zoom.us, *.teams.microsoft.com\n# - Printer subnets\n```\n\n## SSH and Browser-Based Terminal\n\n```yaml\n# In cloudflared config.yml — expose SSH via browser rendering\ningress:\n  - hostname: ssh.example.com\n    service: ssh:\u002F\u002Flocalhost:22\n```\n\n```bash\n# Users access ssh.example.com in their browser\n# Cloudflare renders an in-browser terminal after Access authentication\n\n# Or use cloudflared on the client side for native SSH\ncloudflared access ssh --hostname ssh.example.com\n\n# Add to SSH config for seamless access\n# ~\u002F.ssh\u002Fconfig\n# Host ssh.example.com\n#   ProxyCommand \u002Fusr\u002Flocal\u002Fbin\u002Fcloudflared access ssh --hostname %h\n```\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| Tunnel shows `ERR` in dashboard | `cloudflared` not running or config error | Check `systemctl status cloudflared`; validate config YAML |\n| Access returns 403 despite correct identity | Policy order or missing require rule | Check action precedence: Bypass\u002FService Auth first, then ordered Allow\u002FBlock; review the matched policy instead of blindly moving Allow above Block |\n| WARP shows \"Unable to connect\" | Team name wrong or enrollment disabled | Verify team name in Settings > General; check enrollment permissions |\n| Service token auth fails | Token expired or wrong headers | Regenerate token; use both `CF-Access-Client-Id` and `CF-Access-Client-Secret` |\n| DNS filtering not blocking | Client not using Gateway DNS resolvers | Verify DNS is set to 172.64.36.1; check WARP is connected |\n| Tunnel latency spikes | Tunnel running on overloaded host | Monitor `cloudflared` resource usage; run on dedicated infra |\n| \"No healthy origins\" error | Backend service is down | Check the service at the configured ingress port; review `cloudflared` logs |\n\n## Related Skills\n\n- cloudflare-workers (`cloudflare-workers`) - Edge compute behind Access policies\n- dns-management (`dns-management`) - DNS routing and record management\n- reverse-proxy (`reverse-proxy`) - Alternative gateway patterns\n- service-mesh (`service-mesh`) - Internal service-to-service security\n\n## Limitations\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n",{"name":5,"risk":30,"source":44,"license":14,"category":45,"metadata":46,"date_added":49,"description":7,"source_repo":50,"source_type":35,"compatibility":51,"license_source":52},"https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills","devops",{"author":47,"version":48},"devops-skills","1.0","2026-09-20","BagelHole\u002FDevOps-Security-Agent-Skills","Requires the relevant OS\u002Fplatform tooling and privileged access where noted. Docs-only; helper scripts and templates not bundled.","https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-cloudflare-zero-trust",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add boisenoise\u002Fskills-collections --skill cloudflare-zero-trust",{"tool":65,"command":66},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill cloudflare-zero-trust",{"tool":68,"command":69},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill cloudflare-zero-trust","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-cloudflare-zero-trust\u002FSKILL.md",true,[],[74,83,91,100,108,116],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":82},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":99},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":99},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":99},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]