加速下载wgcf · GitHub Release · 反代镜像加速
本区块自动同步 wgcf 的官方 GitHub Release,并为每个文件预生成 4 个反代镜像加速下载通道。 国内访问 GitHub 慢、下载断、连接超时时,挑一个反代列点开即可,无需手动拼接镜像 URL。镜像只改变访问路径,文件内容、版本号、SHA 校验与 GitHub 官方一致。
暂无公开 Release,请到 ViRb3/wgcf Releases 页 查看后续发布。
TL;DR
wgcf 是把 Cloudflare WARP 注册为 WireGuard 配置的工具,可在 Mihomo / sing-box 中作为 outbound 使用。用途:(1)出口 IP 净化(流媒体解锁);(2)替代直连国际 WG;(3)作为 fallback / 落地节点。不能当抗审查主线——CF 接入点在国内也被干扰。
wgcf 由 ViRb3 维护,2019+ 起活跃。本文按定位、注册、Mihomo / sing-box 集成、应用场景四块讲清楚。
wgcf 的应用场景
| 场景 | 是否合适 | 原因 |
|---|---|---|
| 国内直连国际 → WARP → 代理 | ❌ 不合适 | CF 接入点国内也被干扰 |
| 海外 VPS → WARP → 解锁流媒体 | ✅ 完美 | CF IP 干净 + 流媒体不挑 WARP |
| VPS 出口 IP 净化 | ✅ 完美 | 把 VPS 真实 IP 隐藏 |
| 多机场 fallback | ✅ 不错 | 主代理挂了走 WARP 兜底 |
| 私有 VPN | ❌ 不合适 | 用 WireGuard 自建更好 |
下载 wgcf
github.com/ViRb3/wgcf/releases
# Linux x64
wget https://github.com/ViRb3/wgcf/releases/latest/download/wgcf_*_linux_amd64
chmod +x wgcf_*_linux_amd64
mv wgcf_*_linux_amd64 /usr/local/bin/wgcf
GitHub 慢看本页顶部「加速下载」区块。
注册 WARP 账号
# 第一次:注册账号,接受 ToS
wgcf register
# 输出:wgcf-account.toml
# 生成 WireGuard 配置
wgcf generate
# 输出:wgcf-profile.conf
wgcf-profile.conf 是标准 WireGuard 格式:
[Interface]
PrivateKey = <您的 WARP 私钥>
Address = 172.16.0.2/32, 2606:4700:110:8c61:.../128
DNS = 1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001
MTU = 1280
[Peer]
PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = engage.cloudflareclient.com:2408
在 Mihomo 中作 outbound
proxies:
- name: warp
type: wireguard
server: engage.cloudflareclient.com
port: 2408
private-key: <您的 WARP 私钥>
public-key: bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
ip: 172.16.0.2
ipv6: 2606:4700:110:8c61:.../128
mtu: 1280
dns:
- 1.1.1.1
- 1.0.0.1
proxy-groups:
- name: ChatGPT
type: select
proxies:
- warp
- DIRECT
rules:
- DOMAIN-SUFFIX,openai.com,ChatGPT
- DOMAIN-SUFFIX,chatgpt.com,ChatGPT
在 sing-box 中作 outbound
{
"type": "wireguard",
"tag": "warp",
"server": "engage.cloudflareclient.com",
"server_port": 2408,
"private_key": "<您的 WARP 私钥>",
"peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"local_address": ["172.16.0.2/32", "2606:4700:110:8c61:.../128"],
"mtu": 1280
}
在 VPS 上用作出口
经典玩法:海外 VPS → WARP → 互联网。让出口 IP 是 CF 的而非 VPS 真实 IP。
1. VPS 装 WireGuard
apt install wireguard
2. 复制 wgcf-profile.conf 为 wg0.conf
cp wgcf-profile.conf /etc/wireguard/wg0.conf
3. 启动
wg-quick up wg0
4. 在 VPS 的代理服务(Xray / sing-box)路由配置中,将出站走 wg0 接口
// sing-box: bind_interface
"outbounds": [
{ "type": "direct", "tag": "warp-out", "bind_interface": "wg0" }
]
经此 VPS 代理出去的流量全部走 WARP,出口 IP 是 CF 干净 IP。
WARP+ 流量
免费 WARP 速度有限制。WARP+ 流量加速:
- 邀请新用户:每邀请 1 人 + 1GB
- Telegram bot:@generatewarpplusbot(自动加 GB)
- 通过工具 warp-plus-bot
或买 Cloudflare One $4.99/月直接获 WARP+ 不限流量。
常见报错
wgcf register 报错
- 时间不同步 →
ntpdate校时 - 网络问题 → 换接入点 / 改 endpoint
Mihomo 连不上 WARP
- VPS / 客户端在大陆,CF 接入点被干扰 → 用 wgcf-warp+ 优选 IP 工具找可用接入点
- MTU 设置错 → 调到 1280 / 1380
流量被识别为 WARP
- Endpoint IP 用 WARP 优选 IP 工具替换为不显眼的 CF IP
- 端口改为 1701 / 500 / 4500(CF 备用端口)
wgcf 配套机场
wgcf 是免费 WARP 工具,不需要订阅。但搭配机场可以做:
- 主代理 → 机场节点
- 流媒体 / ChatGPT → WARP(CF 干净 IP)
配套订阅线路 提供多协议节点订阅。
来源与最后核对
- 仓库:github.com/ViRb3/wgcf
- Cloudflare WARP:1.1.1.1
- 优选 IP 工具:github.com/XIU2/CloudflareSpeedTest
- 相关 WireGuard / Mihomo / sing-box
本文最后实际验证日期:2026-05-20。