(Linux系统)Cloudflare WARP+ MASQUE 协议配置指南

1.1.1.1 + WARP: Safer Internet 是由 Cloudflare 提供的服务,旨在提高用户的互联网隐私和安全性。它会创建一个更安全的连接,帮助保护你的互联网流量。WARP 使用加密技术,阻止互联网服务提供商(ISP)和其他第三方跟踪你的 DNS 请求。

warp-cli 是 Cloudflare WARP 的命令行客户端工具,用于在 Linux 系统上配置和管理WARP连接。

1、安装 warp-cli Ubuntu/Debian/Red Hat Enterprise Linux & CentOS 的package repository ↗,个人使用的是 Arch系统,yay -S cloudflare-warp-bin

2、注册一个新账户 warp-cli registration new

3、启动和启用 WARP 服务

# 启动服务
sudo systemctl start warp-svc 
# 确保服务在开机时自动启动
sudo systemctl enable warp-svc 

4、启用 MASQUE 协议,新建 mdm.xml 放到 /var/lib/cloudflare-warp

<dict>
    <key>warp_tunnel_protocol</key>
    <string>masque</string>
</dict>

5、设置代理模式 warp-cli mode proxy,默认端口为40000,为了符合之前的一些代理设置,这里我修改为端口7890,warp-cli proxy port 7890

6、查看配置是否生效 warp-cli settings

7、连接与断开 WARP 网络

# 连接
warp-cli connect
# 断开
warp-cli disconnect

8、查看 WARP 连接状态 warp-cli status

9、如果有密钥,可使用 warp-cli registration license 你的密钥

10、查看当前账户信息 warp-cli registration show

Have Fun!! 🎉🎉🎉

Subscribe to Nexseer
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.