cloudflare推出了新协议MASQUE,可以免费科学上网。
安装WARP
打开官网下载(需要翻墙):https://one.one.one.one/zh-Hans/
在这儿下载(windows版):Cloudflare_WARP_2024.6.473.0.msi
IOS和Android在移动商店下载(IOS需要国外appStore账号)
windows端修改连接协议
在C:\ProgramData\Cloudflare文件夹下创建mdm.xml文件,复制一下内容进去保存。
<dict> <key>warp_tunnel_protocol</key> <string>masque</string> </dict>
重启WARP连接即可
问题:
提示:无法将你的设备注册到warp服务
错误码:CF_REGISTRATION_MISSING
查看日志文件C:\ProgramData\Cloudflare\cfwarp_service_log.txt,所在网络有墙给拦住了。
2024-09-23T07:30:49.418Z ERROR warp_api_client::api_client: API request error ReqwestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.cloudflareclient.com.")), port: None, path: "/v0/reg", query: None, fragment: None }, source: hyper_util::client::legacy::Error(Connect, Custom { kind: Other, error: Os { code: 10054, kind: ConnectionReset, message: "远程主机强迫关闭了一个现有的连接。" } }) }), retrying in 2.657783039s
2024-09-23T07:30:52.086Z DEBUG warp_api_client::api_client: Sending API request POST https://api.cloudflareclient.com.//v0/reg
2024-09-23T07:30:52.280Z ERROR warp_api_client::api_client: API request error ReqwestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.cloudflareclient.com.")), port: None, path: "/v0/reg", query: None, fragment: None }, source: hyper_util::client::legacy::Error(Connect, Custom { kind: Other, error: Os { code: 10054, kind: ConnectionReset, message: "远程主机强迫关闭了一个现有的连接。" } }) }), retrying in 2.377621182s