linux中使用Cloudflare WARP


cloudflare warp安装

https://pkg.cloudflareclient.com/

centos支持8,ubuntu支持16到22,Debian支持9到12

warp-cli register 注册

qiu@qiu:~$ warp-cli register
NOTICE:

Cloudflare only collects limited DNS query and traffic data (excluding payload)
that is sent to our network when you have the app enabled on your device. We
will not sell, rent, share, or otherwise disclose your personal information to
anyone, except as otherwise described in this Policy, without first providing
you with notice and the opportunity to consent. All information is handled in
accordance with our Privacy Policy.

More information is available at:
- https://www.cloudflare.com/application/terms/
- https://www.cloudflare.com/application/privacypolicy/

Accept Terms of Service and Privacy Policy? [y/N] y

Success

warp-cli set-license

使用 WARP+ 需要去 Warp+ Bot 获得 License Key,然后 set-license使用 Key

qiu@qiu:~$ warp-cli set-license 48jCka79-6dW7l2r0-2C91 
Success
qiu@qiu:~$ warp-cli connect
Success
qiu@qiu:~$ warp-cli account
Account type: Limited
Device ID: 23b1cb74-7347-46d4-a5ad-29d63e9 
Public key: 282a679017d23fxxxd136ec64350c048e4588f04a200582a2878a230d6f9 
Account ID: f091e9c794f541xx93933eb24b411 
License: 48jCka79-6dW7l2r0-2C911 
Role: Child
Quota: 24598562000000000
Premium Data: 24598562000000000

通过 cloudflare trace 看到 warp=plus

qiu@qiu:~$ curl https://www.cloudflare.com/cdn-cgi/trace/
fl=4f844
h=www.cloudflare.com
ip=104.28.211.41
ts=1698137786.993
visit_scheme=https
uag=curl/7.68.0
colo=SJC
sliver=none
http=http/2
loc=CN
tls=TLSv1.3
sni=plaintext
warp=plus
gateway=off
rbi=off
kex=X25519

参考连接:
https://developers.cloudflare.com/warp-client/get-started/linux/
https://zhui.dev/2023-08/using-cloudflare-warp-plus-on-arch-linux
https://v.xss.sx/pass-wall/warp

声明:鹅石壳儿|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - linux中使用Cloudflare WARP


Carpe Diem and Do what I like