Cloudflare WARP 几个重要命令

检测chatgpt有无封禁:

1
$ bash <(curl -Ls https://cpp.li/openai)

添加 WARP Wire­Guard 双栈全局网络:

1
2
# 自动配置 WARP WireGuard 双栈全局网络
$ bash <(curl -fsSL git.io/warp.sh) d

添加或更改 IPv4/IPv6 网络中的一个出口走 WARP Wire­Guard 网络:

1
2
# 自动配置 WARP WireGuard IPv4 网络
$ bash <(curl -fsSL git.io/warp.sh) d
1
2
# 自动配置 WARP WireGuard IPv6 网络
$ bash <(curl -fsSL git.io/warp.sh) 6

其它相关命令:

1
2
3
4
5
6
7
8
9
# 查看 WARP 脚本子命令列表
$ bash <(curl -fsSL git.io/warp.sh) help

# 重启 WARP WireGuard 网络接口
$ systemctl restart wg-quick@wgcf

# 禁用 WARP WireGuard 网络接口
$ systemctl disable wg-quick@wgcf --now

WARP 脚本功能菜单:

1
2
# Cloudflare WARP 一键配置脚本 功能菜单
$ bash <(curl -fsSL git.io/warp.sh) menu