Cloudflare Warp WireGuard Client
A tool to generate WireGuard profiles for Cloudflare Warp
⚠️ Notice:wgcf - a complete re-write in Golang. It includes numerous new features and improvements, runs natively on any operating system, and has zero dependencies. Get wgcf now!
This project has been deprecated in favor of
Features
- Fetch configuration data from server
- Create new account
- Use existing license key
- Check account type / Warp+ status
- Create WireGuard profile
Usage
- Install WireGuard. Make sure its command-line tool
wg
is accessible from yourPATH
- Install Python 3.7+
- Install poetry using pip:
pip3 install poetry
- Download this project and extract it
- Open a shell in the extracted directory
- (only first time) Install the dependencies:
poetry install
- Run the script:
poetry run python wgcf.py
Your new account details will be saved under wgcf-identity.json
and your WireGuard profile under wgcf-profile.conf
.
You can use the WireGuard profile on any OS that supports WireGuard, including Windows, macOS, Linux and Android. For more information, please refer to the WireGuard installation instructions.
Using existing license key
If you have an existing account, for an example on your phone, you can use its license key to bind this device's account to that of your phone and share its Warp+ features. Please note that there is a limit of a maximum of 5 active linked devices.
- Make sure you have ran this script at least once to create an identity
- Once you have the
wgcf-identity.json
file, open it in your favorite text editor and replace thelicense_key
value with the license key of your other device - When you re-run this script, it will detect the change and automatically update your account
Android
To see your account's license key on Android:
- Open the
1.1.1.1
app - Click on the hamburger menu button in the top-right corner
- Navigate to:
Account
>Key