1. Download Cloudflare WARP
Official website address: https://1.1.1.1/ ,
download the macOS version, unzip it, install it, and start it.
It will be displayed in the status bar after startup.
2. Upgrade to Warp+ 24PB version
-
1. Open the URL: https://blog.upx8.com/warp.html , click Generate Key;
-
2. Copy the generated key into Cloudflare WARP:
-
Click on the Cloudflare WARP program on the status bar
-
Click Settings in the upper right corner
-
- Click on ''Preferences''
- Click ''Account'' —> "Use Different Key"
If the error key is invalid or not 24PB, repeat the first step to regenerate the key (it is recommended to generate a few more at a time, and then try one by one)
3. Upgrade to Zero Trust (unlimited traffic)
In this step, you can upgrade or not, because the Warp+ version already has 24PB traffic, which is equivalent to unlimited. Because this step will be more troublesome. .
1. Create a Cloudflare account
- (1) Open the console of Cloudflare: https://dash.cloudflare.com/ and register an account. Then click the "Zero Trust" button on the left column to enter the Zero Trust page.
2. Add a team
- (1) Enter the name of the organization (name it yourself), and click the "Next" button
- (2) Select the "Free" plan on the far left
-
(3) Click the "Proceed to payment" button
-
(4) Go back to the console, log out and log back in to your CloudFlare account, enter the Zero Trust home page, click "My Team" → "Devices" on the left column, and click the blue "Connect a device" button
-
(5) Enter the email suffix (for example, [email protected], its suffix is @qq.com) and click "Save" to save.
3. Upgrade to Zero Trust
- (1) Then click the Cloudflare WARP program on the status bar to 'Accouut''
-
(2) Click "Login to Cloudflare Zero Trust" in the lower right corner, then enter the team name you just created, and click ''Accept''.
-
(3) A page will pop up, just enter your own email address, and note that the suffix of the input email address must be consistent with the 2. (5) just now. Then accept the verification code and enter the verification code.
-
(4) If you become like this, you will be successful
Fourth, configure the preferred IP
1. Obtain preferred IP
- Download the script to obtain the peer IP and execute it
wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/files/warp-yxip/warp-yxip-mac.sh && bash warp-yxip-mac.sh
If the download speed is slow, you can also download the compressed package uploaded in this article, and execute after decompression:
chmod +x warp-yxip-mac.sh && bash warp-yxip-mac.sh
Select 1 and press Enter
- Then wait for the result, it will prompt that the test result has been written into result.csv , the higher the front, the faster.
- choose an IP
2. Configuration
-
Then enter in the terminal:
cd /Applications/Cloudflare\ WARP.app/Contents/Resources
-
and then type
sudo ./warp-cli set-custom-endpoint IP
The IP is the IP just selected, such as:
sudo ./warp-cli set-custom-endpoint 162.159.192.137:4500
Finally, turn on Cloudflare WARP and it's ready to use.
Reference: https://www.tanhuoo.cn/7976.html