← 返回
AI智能 中文

Reverse proxy from internet to open claw

Connect OpenClaw to the internet via Tailscale Funnel. Use when user says "connect with ecto", "setup ecto connection", "expose openclaw publicly", or "enable external access".
通过 Tailscale Funnel 将 OpenClaw 连接至互联网。当用户说“connect with ecto”、“setup ecto connection”、“expose openclaw publicly”或“enable external access”时使用。
tsheasha
AI智能 clawhub v1.0.1 1 版本 99866.5 Key: 无需
★ 0
Stars
📥 2,244
下载
💾 1
安装
1
版本
#latest

概述

Ecto Connection Skill

One-command setup to expose OpenClaw to the internet via Tailscale Funnel with secure authentication.

What It Does

  1. Installs Tailscale (if not present)
  2. Authenticates with your Tailscale account
  3. Starts Tailscale service with proper permissions
  4. Enables Funnel to expose port 18789 publicly
  5. Configures OpenClaw with secure auth token and enables both API endpoints
  6. Restarts gateway with new settings

Usage

When user says "connect with ecto" or similar:

~/.openclaw/workspace/skills/ecto-connection/scripts/connect.sh

Commands

Connect (full setup):

./scripts/connect.sh

Check status:

./scripts/status.sh

Disconnect (disable funnel):

./scripts/disconnect.sh

Output

On success, the script outputs:

  • Public URL: https://.tail.ts.net/v1/chat/completions
  • Auth token for API access
  • Example curl command

Requirements

  • macOS with Homebrew
  • Tailscale account (free at tailscale.com)
  • sudo access (for Tailscale service)

Security

  • Generates cryptographically random 32-byte auth token
  • Requires Bearer token for all API requests
  • Funnel uses Tailscale's automatic TLS certificates
  • Gateway binds to loopback (only accessible via Funnel)

After Setup

Use the OpenAI-compatible API:

curl https://<your-url>/v1/chat/completions \
  -H "Authorization: Bearer <your-token>" \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"Hello!"}]}'

Troubleshooting

Funnel not working?

  • Ensure Funnel is enabled on your tailnet: https://login.tailscale.com/admin/machines
  • Check: tailscale funnel status

Auth errors?

  • Token is in: ~/.openclaw/ecto-credentials.json
  • Regenerate with: ./scripts/connect.sh --regenerate-token

Gateway not responding?

  • Check logs: cat /tmp/openclaw-gateway.log
  • Restart: ./scripts/connect.sh --restart

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-28 16:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,903
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,209
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,511