Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/P3TERX/warp.sh

Cloudflare WARP Installer | WARP 一键安装脚本
https://github.com/P3TERX/warp.sh

cloudflare cloudflare-teams cloudflare-warp installer ipv6 ipv6-support linux v2ray vpn warp wireguard

Last synced: 21 days ago
JSON representation

Cloudflare WARP Installer | WARP 一键安装脚本

Lists

README

        

**English** | [中文](https://p3terx.com/archives/cloudflare-warp-configuration-script.html)

# 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 (WireGuard Mode)
- Configuration WARP IPv6 Network interface (WireGuard Mode)
- Configuration WARP Dual Stack Network interface (WireGuard Mode)
- ...

## Requirements

### WARP Official Linux Client

Official WARP client support is currently limited to x86_64 platforms, see OS Support for details: https://pkg.cloudflareclient.com

### WARP WireGuard Network Mode

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
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

- [Cloudflare WARP](https://1.1.1.1/)
- [WireGuard](https://www.wireguard.com/)
- [ViRb3/wgcf](https://github.com/ViRb3/wgcf)

## License

[MIT](https://github.com/P3TERX/warp.sh/blob/main/LICENSE) © **[P3TERX](https://p3terx.com/)**

## 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.