一键安装Cloudflare WARP

项目地址:GitHub

自动配置 WARP WireGuard 双栈全局网络

1
bash <(curl -fsSL git.io/warp.sh) d

IPv4/IPv6 网络中的一个出口走 WARP Wire­Guard 网络

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

重启 WARP WireGuard 网络接口

1
systemctl restart wg-quick@wgcf

禁用 WARP WireGuard 网络接口

1
systemctl disable wg-quick@wgcf --now

自动配置 WARP 官方客户端 SOCKS5 代理

1
bash <(curl -fsSL git.io/warp.sh) s5

卸载 WARP 官方 Linux 客户端

1
bash <(curl -fsSL git.io/warp.sh) uninstall

WARP 脚本功能菜单

1
bash <(curl -fsSL git.io/warp.sh) menu