mirror of
https://github.com/qingchencloud/cftunnel.git
synced 2026-08-31 02:02:40 +08:00
d976ee2c33
- 新增 relay 模式: frp 中继引擎,TCP/UDP 全协议穿透 - 新增 relay server setup: SSH 远程安装 frps 服务端 - 新增 sshutil 包: 纯 Go SSH 连接/远程执行 - 官网: 移动端响应式适配 (480/768/900px 三断点) - 官网: 修复 Star 按钮样式,特性卡片 11→12 - install.sh: 国内镜像源加速 (ghfast/gh-proxy/ghproxy) - Docker Compose + install-relay.sh 服务端部署方案
18 lines
479 B
YAML
18 lines
479 B
YAML
# cftunnel 中继服务端 Docker 部署
|
|
# 用法:
|
|
# 1. 复制 frps.toml.example 为 frps.toml,修改 auth.token
|
|
# 2. docker compose up -d
|
|
#
|
|
# 端口说明:
|
|
# 7000 — frps 控制端口(客户端连接用)
|
|
# 6000-6100 — 穿透端口范围(按需调整)
|
|
|
|
services:
|
|
frps:
|
|
image: snowdreamtech/frps:0.66.0
|
|
container_name: cftunnel-relay
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
volumes:
|
|
- ./frps.toml:/etc/frp/frps.toml:ro
|