Using Cloudflare Warp on Linux, Windows, DD-WRT, OpenWrt and other devices

cf-warp

A simple cli to get Warp+ as WireGuard configuration

Usage

By using this, you agree the Privacy Policy and Terms of Service of Cloudflare 1.1.1.1

Step 1

Follow Installation Guide on WireGuard official webiste to install WireGuard on your system.

You have to make sure wg binary exists in your PATH.

Step 2

Install cf-warp globally through yarn or npm.

yarn global add cf-warp # npm i -g cf-warp

Step 3

Initialize your Warp+ account by running cf-warp command.

Example:

$ cf-warp
Your Warp credentials are located at "C:\Users\maple3142\.cf-warp\data.json", and WireGuard connection file is "C:\Users\maple3142\.cf-warp\cf-warp.conf".
You currently have 1GB Warp+ quora.
To get your current Warp+ quora, simply run "cf-warp".
To increase your Warp+ quora by 10 GB, simply run "cf-warp 10".

Step 4

Obtain cf-warp.conf from ~/.cf-warp/cf-warp.conf and use it normally

Credits: https://github.com/maple3142/cf-warp