P2Pee - A P2P Network Tunneling Tool Securely expose local HTTP(S)
1.1K
P2Pee 内网穿透工具 - 基于 P2P 网络将本地 HTTP(S) 服务安全暴露到公网,通过浏览器直接访问,无需安装客户端,无需公网 IP 和端口映射,支持多目标代理与 Web 管理界面
P2Pee - A P2P Network Tunneling Tool
Securely expose local HTTP(S) services to the public internet via P2P networks, enabling direct browser access without client installation, public IP requirements, or port mapping. Supports multi-target proxying and a web-based management interface
不需要挂载目录,也不需要额外映射端口(使用-host模式p2p成功率会提高)
多目标写法(第一个是默认目标)
# 写法 A:编号变量(推荐,最直观好打)
-e KEY='you_key' \
-e TARGET='http://192.168.1.209:3000' \
-e TARGET1='http://192.168.1.209:5666' \
-e TARGET2='esxi=https://192.168.1.100'
# 写法 B:一个变量里逗号分隔
-e TARGET='http://192.168.10.209:5666,esxi=https://192.168.10.100'
# 写法 C:命令行参数完全接管(传了参数就忽略环境变量)
docker run -d --network host p2pee-proxy:1.0.0 \
-key 'you_key' \
-target 'http://192.168.10.209:5666' \
-target 'esxi=https://192.168.10.100'
⚠️ 同一个
-e TARGET=写两次没用:docker 传环境变量时后者会覆盖前者,容器里只能读到最后一个。 多目标请用上面 A/B/C 三种写法。
docker run -d --name=p2pee-proxy --network=host -e KEY='you_key' -e TARGET='http://192.168.1.209:3000' xnkyn/p2pee-proxy:1.0.0
通过p2pee.com控制台,查看设备上线,访问地址即可通过网页看到内网的服务
Content type
Image
Digest
sha256:2278b89b7…
Size
7.8 MB
Last updated
15 days ago
docker pull xnkyn/p2pee-proxy