小东博客

xray配置Cloudflare Warp出口

使用Cloudflare Warp解锁奈飞、迪士尼Plus、YouTube Premium、ChatGPT

1,生成warp配置信息 https://github.com/chise0713/warp-reg.sh
bash -c "$(curl -L warp-reg.vercel.app)"

2,outbounds 配置出口规则,私钥等:

{
            "protocol": "wireguard",
            "settings": {
                "secretKey": "私钥",
                "address": [
                    "172.16.0.2/32",
                    "替换为WG配置内的V6地址/128"
                ],
                "peers": [
                    {
                        "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
                        "allowedIPs": [
                            "0.0.0.0/0",
                            "::/0"
                        ],
                        "endpoint": "162.159.195.6:2408" 
                    }
                ],
                "reserved":[0, 0, 0], 
                "mtu": 1280,
                "domainStrategy": "ForceIPv6v4"
            },
            "tag": "warp"
        }

3,配置routing路由规则
{
"type": "field",
"inboundTag": ["v2-in"],
"outboundTag": "warp"
}

4,在入口规则 inbounds的配置内增加tag


"tag": "warp"


5,重启xray搞定


码字很辛苦,转载请注明来自.小东博客 .《xray配置Cloudflare Warp出口 》