dremofly

dremofly

计算机博士,热衷区块链。

warp+wireguard client, no need for surge, low-cost wap usage

Introduction#

Recently, I have often seen cases of using warp with surge 4 (and above). However, not everyone is willing to spend money to purchase surge, so I will record how to use the wireguard client to use cloudfare warp.

  1. Get the Warp license key#

First, you need to obtain a key with 24 PB of traffic from the telegram bot. With 24 PB of traffic, most people can use it for a very long time.

  1. Open https://t.me/generatewarpplusbot in your browser.
  2. Follow the prompts to enter Telegram.
  3. The bot will ask you to follow its channel, where it will also send some private keys. Follow the instructions and first use /start, then /generate to get the license key.
  4. Use wgcf to generate the wireguard configuration file#

First, use homebrew to install wgcf.

brew install wgcf

Register using wgcf.

wgcf register

After that, there will be a wgcf-accounttoml configuration file in the root directory /Users/{your_username}. Fill in the license key given by the telegram bot.

CleanShot2023_04_19_at_19_37_38

Then generate the wireguard configuration file using the following command.

wgcf generate

You will get wgcf-profile.conf.

  1. Configure the wireguard client#

Add an empty configuration.

CleanShot2023_04_19_at_19_39_59

Paste the configuration from wgcf-profile.conf.

CleanShot2023_04_19_at_19_40_51

Now you can enjoy using wireguard.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.