360 Secure SkillHub
360 安全技能中心

Pilot Http Proxy

该 Skill 封装 pilotctl 网关子系统的启动、映射、列出、移除与停止命令,把 HTTP 请求经 Pilot Protocol 隧道转发到 NAT 或防火墙后的服务,并给出访问远程 HTTP API 的脚本示例。需 pilot-protocol skill、pilotctl 二进制和运行中的守护进程,Linux 下使用低于 1024 端口需 root 权限。

teoslayer
teoslayer
热度 44.92
最近更新 2026-05-11 17:41:32
分类:自动化依赖:代码执行应用场景:API 集成 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pilot-http-proxy
Metadata
name
pilot-http-proxy
description
Route HTTP requests through Pilot Protocol tunnels. Use this skill when: 1. You need to access HTTP services behind NATs or firewalls 2. You want to proxy HTTP traffic through the Pilot overlay network 3. You're exposing local HTTP servers to remote agents Do NOT use this skill when: - Services are already publicly accessible - You need direct HTTP access on the same network - The daemon is not running
tags
["pilot-protocol","integration","http","proxy","gateway"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start).
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl"]},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]

Pilot HTTP Proxy

Route HTTP requests through Pilot Protocol tunnels using the gateway subsystem.

Commands

Start Gateway

pilotctl --json gateway start

Map Remote HTTP Service

pilotctl --json gateway map <hostname> <local-ip>

List Mappings

pilotctl --json gateway list

Remove Mapping

pilotctl --json gateway unmap <local-ip>

Stop Gateway

pilotctl --json gateway stop

Workflow Example

#!/bin/bash
# Access remote HTTP API

pilotctl --json daemon start
pilotctl --json find api-server
pilotctl --json gateway start
pilotctl --json gateway map api-server 192.168.100.50

# Access remote service
curl http://192.168.100.50/api/v1/status
curl http://192.168.100.50:8080/metrics

Port Mapping

Gateway forwards common HTTP ports:

  • Port 80 (HTTP)
  • Port 443 (HTTPS)
  • Port 8080 (alternative HTTP)

Dependencies

Requires pilot-protocol skill with running daemon. Root/sudo on Linux for port <1024.