Cloudflare WARP is a proxy that offers faster and more secure internet connectivity by encrypting and routing traffic through Cloudflare’s global network of servers, while also blocking malware and protecting user privacy.
You have two ways of installing WARP on Linux, depending on the distro you are using:
Setup package repository
Cloudflare’s client-side software can be installed on Linux with package managers APT or YUM by following these instructions. However, keep in mind that not all packages may support all operating systems!
Debian
First, install the repository’s GPG key:
| |
Then add the repository to your machine’s apt sources:
| |
Finally, update your linux machine:
| |
and now packages from this repository can be installed directly with APT!
Ubuntu
First, install the repository’s GPG key:
| |
Then add the repository to your machine’s apt sources:
| |
Finally, update your linux machine:
| |
Red Hat Enterprise Linux
Install the repository with RPM (replace
| |
Finally, update your linux machine:
| |
Installating the Cloudflare-WARP
- Debian Based:
sudo apt install cloudflare-warp - Red Hat Based:
sudo yum install cloudflare-warp
Post Install Steps
The command line interface is the primary way to use WARP.
- Register the client warp-cli register.
- Connect warp-cli connect.
- Run curl https://www.cloudflare.com/cdn-cgi/trace/ and verify that warp=on.
Always stay connected
If you want to always stay connected to WARP you must call enable-always-on.
To enable this feature, run:
| |
Switching modes
You can use warp-cli set-mode --help to get a list of the modes to switch between.
For example:
- DNS only mode via DoH:
warp-cli set-mode doh - WARP with DoH:
warp-cli set-mode warp+doh