[ Content contribution] 使用Cloudflare WARP 解决访问Github问题
Tofloor
poster avatar
安住当下
deepin
13 hours ago
Author

在windows上,可以使用 Cloudflare WARP 免费连接Github等外部网站,虽然有时候不稳定吧,但是免费的,偶尔用用还是可以的。

今天分享下怎么在深度系统上安装。


一、安装

打开终端,执行以下命令:

# 添加 Cloudflare gpg 公钥
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
# 添加仓库
echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ bookworm main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
# 安装
sudo apt-get update && sudo apt-get install cloudflare-warp

二、使用

目前,并没有找到图形化的使用方法,主要是在终端用命令操作。

(1)注册客户端(首次需要)

warp-cli registration new

(2)连接网络

warp-cli connect

(3)查看连接状态

warp-cli status

有时候连接得快,有时候需要尝试几次。

当状态显示如下的时候就说明连上了。

image.png

(4)断开网络

warp-cli disconnect


参考:

  1. https://pkg.cloudflareclient.com/
  2. 千问
Reply Favorite View the author
All Replies
安洛
deepin
12 hours ago
#1

默认配置下这东西是全局VPN,会导致访问国内网站变慢甚至无法访问。而且在我这里warp能连上的次数比github还少。

Reply View the author