360 Secure SkillHub
360 安全技能中心

Pilot Http Proxy

该技能借助Pilot协议网关子系统,实现HTTP请求的隧道路由,支持80、443、8080端口映射,可执行网关启停、映射增删查等操作。典型场景包括访问NAT/防火墙后的HTTP服务、通过Pilot overlay网络代理流量、暴露本地HTTP服务器给远程代理。通过Bash命令操作,输出操作结果或本地映射地址,需依赖pilot-protocol技能、pilotctl工具及运行的daemon,Linux低端口需root权限。

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

安装技能

复制下面的话术发给你的 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.