Giter Site home page Giter Site logo

cloudflare-warp-wireguard-client's Introduction

Cloudflare Warp WireGuard Client

A tool to generate WireGuard profiles for Cloudflare Warp

โš ๏ธ Notice:

This project has been deprecated in favor of 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!

Features

  • Fetch configuration data from server
  • Create new account
  • Use existing license key
  • Check account type / Warp+ status
  • Create WireGuard profile

Usage

  1. Install WireGuard. Make sure its command-line tool wg is accessible from your PATH
  2. Install Python 3.7+
  3. Install poetry using pip:
    pip3 install poetry
  4. Download this project and extract it
  5. Open a shell in the extracted directory
  6. (only first time) Install the dependencies:
    poetry install
  7. 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.

  1. Make sure you have ran this script at least once to create an identity
  2. Once you have the wgcf-identity.json file, open it in your favorite text editor and replace the license_key value with the license key of your other device
  3. 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:

  1. Open the 1.1.1.1 app
  2. Click on the hamburger menu button in the top-right corner
  3. Navigate to: Account > Key

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.