• This repository has been archived on 28/Feb/2024
  • Stars
    star
    3,571
  • Rank 12,423 (Top 0.3 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 3 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cloudflare WARP Installer | WARP 一键安装脚本

English | 中文

Cloudflare WARP Installer

A Bash script that automatically installs and configures CloudFlare WARP in Linux, connects to WARP networks with WARP official client or WireGuard.

Features

  • Automatically install CloudFlare WARP Official Linux Client
  • Quickly enable WARP Proxy Mode, access WARP network with SOCKS5
  • Automatically install WireGuard related components
  • Configuration WARP IPv4 Network interface (with WireGuard)
  • Configuration WARP IPv6 Network interface (with WireGuard)
  • Configuration WARP Dual Stack Network interface (with WireGuard)
  • ...

Requirements

These are the requirements for WireGuard, see the official page for the CloudFlare WARP client requirements.

Supported distributions:

  • Debian >= 10
  • Ubuntu >= 16.04
  • Fedora
  • CentOS
  • Oracle Linux
  • Arch Linux
  • Other similar distributions

Supported platform architecture:

  • x86(i386)
  • x86_64(amd64)
  • ARMv8(aarch64)
  • ARMv7(armhf)

Usage

bash <(curl -fsSL git.io/warp.sh) [SUBCOMMAND]
# or
wget git.io/warp.sh
bash warp.sh [SUBCOMMAND]

Subcommands

install         Install Cloudflare WARP Official Linux Client
uninstall       uninstall Cloudflare WARP Official Linux Client
restart         Restart Cloudflare WARP Official Linux Client
proxy           Enable WARP Client Proxy Mode (default SOCKS5 port: 40000)
unproxy         Disable WARP Client Proxy Mode
wg              Install WireGuard and related components
wg4             Configuration WARP IPv4 Global Network (with WireGuard), all IPv4 outbound data over the WARP network
wg6             Configuration WARP IPv6 Global Network (with WireGuard), all IPv6 outbound data over the WARP network
wgd             Configuration WARP Dual Stack Global Network (with WireGuard), all outbound data over the WARP network
wgx             Configuration WARP Non-Global Network (with WireGuard), set fwmark or interface IP Address to use the WARP network
rwg             Restart WARP WireGuard service
dwg             Disable WARP WireGuard service
status          Prints status information
version         Prints version information
help            Prints this message or the help of the given subcommand(s)
menu            Chinese special features menu

Example

  • Install and automatically configure the Proxy Mode feature of the WARP client, enable the local loopback port 40000, and use an application that supports SOCKS5 to connect to this port.

    bash <(curl -fsSL git.io/warp.sh) proxy
    
  • Install and automatically configure WARP IPv6 Network (with WireGuard),Giving your Linux server access to IPv6 networks.

    bash <(curl -fsSL git.io/warp.sh) wg6
    
  • This Bash script is also a good WireGuard installer.

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

Credits

License

MIT © P3TERX

Notice of Non-Affiliation and Disclaimer

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Cloudflare, or any of its subsidiaries or its affiliates. The official Cloudflare website can be found at https://www.cloudflare.com/.

The names Cloudflare Warp and Cloudflare as well as related names, marks, emblems and images are registered trademarks of their respective owners.

More Repositories

1

Actions-OpenWrt

A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件
Shell
6,919
star
2

aria2.conf

Aria2 配置文件 | OneDrive & Google Drvive 离线下载 | 百度网盘转存
Shell
3,079
star
3

Aria2-Pro-Docker

Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像
Dockerfile
2,919
star
4

aria2.sh

Aria2 一键安装管理脚本 增强版
Shell
2,789
star
5

GeoLite.mmdb

MaxMind's GeoIP2 GeoLite2 Country, City, and ASN databases
1,518
star
6

Aria2-Pro-Core

Aria2 static binaries for GNU/Linux with some powerful feature patches. | 破解无限线程 防掉线程优化 静态编译 二进制文件 增强版
Shell
367
star
7

IBM-CF-V2

Use GitHub Actions to automatically deploy the latest version of V2Ray to IBM Cloud Foundry
206
star
8

openwrt-build-env

OpenWrt build environment in docker | Docker 中的 OpenWrt 编译环境
Dockerfile
104
star
9

ServerStatus-V

云探针、多服务器探针、云监控、多服务器云监控
C
101
star
10

ssh2actions

Connect to GitHub Actions VM via SSH for interactive debugging
Shell
84
star
11

wireguard-go-builder

Compiling the wireguard-go binary from source. With this binary, users are able to create WireGuard sessions without installing the kernel module.
Shell
66
star
12

SSH_Key_Installer

Install SSH keys via GitHub, URL or local files
Shell
65
star
13

script

Some shell script
Shell
54
star
14

ActionsVM

Connect to GitHub Actions via SSH, get macOS or Linux VM for free.
Shell
40
star
15

unraid-docker-templates

Templates for adding containers to UNRAID via more GUI-friendly way and allowing easier updates in the future.
26
star
16

goindex_backup

Google Drive Directory Index backup
JavaScript
17
star
17

doubi_backup

Shell
11
star
18

openwrt-list

10
star
19

P3TERX

8
star
20

BestTrace

Shell
5
star
21

ca-certificates.crt

Make ca-certificates.crt daily via GitHub Actions
Shell
5
star
22

termux.sh

Shell
4
star
23

ariang

3
star
24

ubuntu-plus

Ubuntu image with some extra packages
Dockerfile
3
star
25

Gitpod-OpenWrt

OpenWrt build environment in Gitpod
Dockerfile
2
star