wgcf is a utility for Cloudflare Warp that allows you to create and manage accounts, assign license keys, and generate WireGuard profiles.
- Register new Cloudflare Warp device and account
- Update account to allow connection via WireGuard
- Update account with new license key, sharing Warp+ status with up to 4 other devices
- Generate WireGuard profile
- Check Cloudflare device status
- Print trace information to debug Warp/Warp+ status
You can find pre-compiled binaries on the releases page.
Run wgcf
in a terminal without any arguments to display the help screen, all commands and parameters are documented.
Run the following command in a terminal:
wgcf register
The new account will be saved under wgcf-account.toml
Register an account if you haven't already. Then, run:
wgcf generate
The WireGuard profile will be saved under wgcf-profile.conf
If you have an existing account with Warp+, for an example on your phone, you can apply its license key to the account generated by this tool and share your Warp+ status. Please note that there is a maximum limit of 5 active linked devices at a time.
First, get your Warp+ account license key. To see the license key on Android:
- Open the
1.1.1.1
app - Click on the hamburger menu button on the top-right corner
- Navigate to:
Account
>Key
Register an account if you haven't already. Finally, edit wgcf-account.toml
directly with the new license key and run the update
command:
wgcf update
or use an environment variable:
WGCF_LICENSE_KEY="123412341234" wgcf update
Your account will be updated remotely, and no further changes are necessary.
Run the following command in a terminal:
wgcf status
Connect to the WireGuard profile generated by this tool, then run:
wgcf trace
If you look at the last line, it should say warp=on
or warp=plus
, depending on whether you have Warp or Warp+ respectively.