Linux
Consumer WARP
This documentation is for the consumer version of WARP. If you are using WARP with Cloudflare Zero Trust, refer to the Zero Trust documentation.
You have two ways of installing WARP on Linux, depending on the distro you are using:
- Find the latest WARP client in the package repository ↗.
- Install the
cloudflare-warp
package that suits your distro:- apt-based OS (like Ubuntu):
sudo apt install cloudflare-warp
. - yum-based OS (like CentOS or RHEL):
sudo yum install cloudflare-warp
.
- apt-based OS (like Ubuntu):
The command line interface is the primary way to use WARP.
To connect for the very first time:
- Register the client
warp-cli registration new
. - Connect
warp-cli connect
. - Run
curl https://www.cloudflare.com/cdn-cgi/trace/
and verify thatwarp=on
.
You can use warp-cli mode --help
to get a list of modes to switch between. For example:
- DNS only mode via DoH:
warp-cli mode doh
- WARP with DoH:
warp-cli mode warp+doh
You can switch the protocol that WARP uses to route traffic from the device to Cloudflare.
- WireGuard:
warp-cli tunnel protocol set WireGuard
- MASQUE: (default)
warp-cli tunnel protocol set MASQUE
For information on WireGuard versus MASQUE, refer to our blog post ↗.
The Linux client supports all 1.1.1.1 for Families modes, in either WARP on DNS-only mode:
- Families mode off:
warp-cli dns families off
- Malware protection:
warp-cli dns families malware
- Malware and adult content:
warp-cli dns families full
A complete list of all supported commands can be found by running:
warp-cli --help
You can find logs required to debug WARP issues by running sudo warp-diag
. This will place a warp-debugging-info.zip
file in the path from which you ran the command.
To report bugs or provide feedback to the team use the command sudo warp-diag feedback
. This will submit a support ticket.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark