How to use CloudFlare WARP+ on Windows (and get IPv6)(and use your own License key)

Joined
Jan 7, 2023
Threads
1
Comments
1
Reactions
8
  • WireGuard is a lightweight, fast, open-source program and VPN protocol.
  • CloudFlare WARP is a VPN service that is provided by CloudFlare that uses WireGuard. WARP can fix many routing issues, increase page load times, and in some cases increase speeds to certain servers due to better routing. It isn’t suitable for all Internet Connections as some ISPs have terrible routing to CloudFlare but in many cases, it can actually help.
  • CloudFlare WARP+ is the premium version of WARP with better routing and speeds compared to regular CloudFlare WARP.
  • CloudFlare WARP can be installed easily from the Play Store/App Store on Android/iOS but unfortunately, CloudFlare doesn’t have any official application for Windows/MacOS/Linux. However, you can still run WARP on Desktops by creating a WireGuard config of WARP with unofficial programs. This is what we will be doing in this guide, do keep in mind that this is an unofficial method and may stop working anytime.
  • Also consider paying for a CloudFlare WARP+ subscription on Play Store/App Store if you want to use it long term, at the time of writing, WARP+ is only Rs. 69/month, way cheaper than nearly all full VPN providers
  • WARP+ isn’t a tool for hiding your IP Address. In fact, CloudFlare will rewrite your tunnel IP with actual IP when using CloudFlare sites, don’t use this as a tool for hiding IP Addresses, there are several proxies and VPN services available for that.
  • WARP+ isn’t a privacy tool either, CloudFlare can see all the sites you visit if you use WARP same as with most other VPNs. It depends on how much you trust CloudFlare to not sell or give your data or logs to anyone.

This is an updated guide on how to setup Cloudflare WARP on your PC using wgcf and WireGuard:

  1. Download WireGuard from Installation - WireGuard. As this guide will be for Windows, download the Windows 32bit or 64bit version of Wireguard depending on which version of Windows you have.
  2. Now you must install Wireguard using the setup you downloaded earlier, you must have an Administrator Windows account to install Wireguard.
  3. The WireGuard window should look like this after installation.

1707595657981.webp
4. Next, you have to download wgcf application to generate the WARP+ Configuration which you could use with WireGuard.​

5. You have to download the latest wgcf executable from the following link: Releases · ViRb3/wgcf​

Now that we have wgcf downloaded, we will execute this file to register and generate the config we need for WireGuard.

To make it easier for commands later, we will rename this file we downloaded to wgcf.exe from wgcf_1.x.x_windows_x.exe . You can do this in File Explorer.

6. Open Command Prompt, you can do this by hitting Windows Key+R and then typing in cmd in run and press Enter.​

Now we have the Command Prompt open, we will cd to the Downloads folders (which I’m assuming is where you have the wgcf downloaded). However, if you have it downloaded in some other directory cd to there instead.

1707595672891.webp


7. Now, we will run the wgcf executable we downloaded earlier. You will need to run multiple commands which you can copy and paste easily.​
[B]wgcf.exe register[/B]

When you run this, it’ll ask if you agree to CloudFlare terms and conditions, you can go to the URL provided and read it if you want. To accept, we will press Enter key.

1707595680243.webp


It should look something like this:

1707595686349.webp


Now that we have created our WARP account, we will need to generate the configuration we can use with WireGuard.

7.1. Optional step, if you already have a WARP+ Paid account, you can use the Key from the 1.1.1.1 app and use it with wgcf.​

a. Click on the Hamburger menu on the 1.1.1.1 App on the top right

1707595695475.webp


b. Click on the account

1707595701418.webp


c. Click on Key
d. Click on Key again copy it and send it to yourself by email or WhatsApp/telegram so that you can use it on wgcf.

1707595709047.webp


e. Now, go to wherever you downloaded the wgcf executable earlier, in my case it’s the Downloads folder

1707595726323.webp


f. Now let’s edit wgcf-account.toml with Notepad

1707595731947.webp


g. We only need to change the license key, you can simply get rid of the generated license key and replace it with the License Key from 1.1.1.1 App we copied in d the step.
h. Save the file and open Command Prompt Again
I. cd to where you have the wgcf.exe (in my case Downloads) as we did in the 6th main step.
j. Type in wgcf.exe update

Now, it should say Account Type: Unlimited instead of Account Type: Free

1707595737966.webp


Now you can follow the rest of the numbered instructions.

8. Now that we have registered the account in the 7th step (or used our own license key in the 7.1th step), we will Generate the WireGuard Config file with wgcf.exe generate

1707595743510.webp


9. Now we should have three files in the folder where we had wgcf.exe in

1707595748911.webp


10. We need to import the wgcf-profile.conf to Wireguard. Click on the “Import Tunnels from file” button on the Wireguard application.

1707595754064.webp


Navigate to wherever you had the wgcf.exe, in my case it’s the Downloads folder.

1707595760696.webp


Click on the Open button

11. The config file is now imported, you can press the Activate button to start the WARP+. It should say "Active" in status.

1707595767045.webp


12. Let's check if it's working properly,​

Go to Google and type in ‘My IP’, it should show an IP that is 8.x.x.x. Do keep in mind that sites that use Cloudflare as DDoS protection will show your real IP as CloudFlare rewrites the IP when accessing these sites. Google doesn’t use CloudFlare so it shows tunnel IP.

1707595772626.webp


13. WARP+ supports IPv6 over IPv4, so this means IPv6 sites should work, though as I said earlier 1.0.6 version of wgcf has problems with IPv6 but as we are using 1.0.5 it should work.​
Lets open ipv6.google.com to check:

1707595778330.webp


If you type in “My IP’ in search of ipv6.google.com it’ll show your IPv6 address:

1707595785263.webp


That’s it you can disconnect anytime by using the ‘Deactivate’ button in the Wireguard application.
 
Last edited by a moderator:
Back
Top