ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

第33篇-远程访问与Web界面

2026/9/1 7:51:44 拓冰建站 浏览量
第33篇-远程访问与Web界面 【OpenClaw 从入门到精通】第 33 篇远程访问与 Web 界面本系列定位零基础入门从安装配置到高级架构全覆盖。本篇你将学到Gateway 远程访问配置Tailscale 集成Web SurfacesWebChat / DashboardSSH 远程 Gateway 控制一、远程访问方案方案安全性复杂度推荐Tailscale高低⭐⭐⭐⭐⭐Nginx TLS Auth中高中⭐⭐⭐⭐直接暴露端口低低❌下面是远程访问方案的架构对比流程图远程访问方案Tailscale推荐Nginx TLS Auth直接暴露端口不推荐安全性高复杂度低自动 WireGuard 加密安全性中高复杂度中需额外配置 TLS安全性低复杂度低存在安全风险二、Tailscale推荐2.1 安装curl-fsSLhttps://tailscale.com/install.sh|shtailscale up2.2 配置 Gateway# 获取 Tailscale IPtailscaleip-4# 输出100.x.x.x# Gateway 监听 Tailscale IPopenclaw configsetgateway.host100.x.x.xopenclaw gateway restart2.3 远程访问在其他设备手机/笔记本上安装 Tailscale加入同一网络后http://100.x.x.x:18789 ← DashboardTailscale 自动提供 WireGuard 加密不需要额外配置 TLS。下面是 Tailscale 远程访问的完整流程客户端设备服务器端安装 Tailscale获取 Tailscale IP配置 Gateway 监听 Tailscale IP重启 Gateway安装 Tailscale加入同一 Tailscale 网络通过 Tailscale 加密隧道访问 Dashboardhttp://100.x.x.x:18789三、Web Surfaces3.1 WebChatopenclaw dashboard浏览器中打开 Dashboard包含 WebChat 聊天界面。3.2 远程 WebChat通过 Tailscale 或 Nginx可以从任何设备的浏览器访问 Dashboard。下面是 Web Surfaces 的访问架构图远程访问本地环境openclaw dashboardDashboard 控制面板WebChat 聊天界面Tailscale 网络任何设备浏览器Nginx 反向代理远程访问 Dashboard远程使用 WebChat四、SSH 远程控制macOS App 支持 SSH 远程控制 GatewaymacOS App → Settings → Remote Gateway SSH Host: your-server.com SSH User: username SSH Key: ~/.ssh/id_rsa → macOS App 通过 SSH 连接远程 Gateway → 菜单栏显示远程 Gateway 状态下面是 SSH 远程控制 Gateway 的流程图macOS AppSettings → Remote Gateway配置 SSH 连接信息SSH Host: your-server.comSSH User: usernameSSH Key: ~/.ssh/id_rsa通过 SSH 连接远程 Gateway菜单栏显示远程 Gateway 状态远程控制 Gateway本篇小结知识点核心内容Tailscale推荐安全 简单Gateway 远程设置 host 为 Tailscale IPDashboard浏览器控制面板WebChat内置聊天界面SSH 控制macOS App 远程 Gateway下篇预告第 34 篇实战场景一 — 软件开发搭档如果本篇内容对你有帮助欢迎点赞收藏有任何疑问欢迎在评论区交流。