How to use Cloudflare Warp Plus on your PC

cavedog

Honorary Master
Joined
Oct 19, 2007
Messages
17,728
So I decided that I should make a write up on how to do it.

First of all thanks to @waylander and @luckystrike

Here is the original tutorial from reddit some one posted. https://www.reddit.com/r/CloudFlare/comments/drwh3d

For this tutorial I find the original Wireguard client to be the best however you can use tunsafe if you prefer.

To get started lets do the easy part first.
1. Install wireguard https://www.wireguard.com
2. Install Python if you do not have it already installed https://www.python.org/downloads/release/python-381/


Those were the easy parts.

Now download the Python script attached to this thread called wgcf.py (wgcf.zip needs to be extracted first. mybb does not allow me to attach the .py directly)

If you want easy navigation save it on C:\ that would make typing less but you can save it any place.

Open CMD(Command Prompt) as adminstrator and and navigate where you saved the wgcf.py file. In this case it's on C so type in cd C:\ if you save it on a different location type cd with that path to the file.

Now type python wgcf.py and you should see this
762606

I used my desktop as the path to the script so it saved 2 files to the desktop. One is a .conf and one is a .json file. The .conf file is the one that you add to Wireguard. This script generates you a free cloudflare warp account that you can use. It's free and should be treated as that free it might not have the best routes or priority bandwidth the warp plus subscription has.


For the next part which is quite tricky you need an Android phone or tablet. Cloudflare Warp Plus costs R30 per month that gets billed via google play from your credit card, play vouchers or airtime if you use Telkom or Vodacom. The R30 per month is soooooo worth it. Basically gives you an unlimited local VPN with great routing as all ISP peer with Cloudflare locally. There has been reports that CPT does not work so there is that but I tested KZN and JHB/PTA these locations for Cloudflare does work.

If you want to use the Free version of Warp you can do so by just opening wireguard now. Click on Add Tunnel at the bottom. Then Select wgcf-profile.conf that was just generated. Click on the activate button.

You are now using Cloudflare Warp Free. You can confirm by going here https://www.udemy.com/cdn-cgi/trace There you will see colo=JNB which is JHB peering or DUR which is Durban and CPT which is Cape Town. If you look at the last line you will see warp=on that means you are on warp free. if you see warp=plus that means you are connected via warp plus the paid version of warp.

Now on your Android phone or Tablet subscribe to warp plus by downloading the warp app then simply sub to the warp plus sub which is R29.99. That will link the sub to your google account.
In the app store download VMOS. This is an android emulator that runs on adroid. Pretty cool actually. You can bypass all these steps IF your android phone is already rooted because we need root and most people don't root their devices.

Open up VMOS. Go to settings then About phone scroll to the bottom and tap the build number 7 times. This will enable developer mode. Go back one and go into Developer Options scroll down a bit and enable the ROOT option.

Now that that is done go to Play store in VMOS. Link the same google account you used to buy the warp plus sub and add it. Now you need to download 2 apps. 1st Download warp then open it. Wait for it to detect your sub and then you can close it. Now download any root explorer app. You can search them there are quite a few of them all of them work.

Open the root explorer app and search for this file com.cloudflare.onedotonedotonedotone_preferences.xml Edit that file with the root explorer. Copy all the content in that file and save it as a draft email in gmail. Now you can close everything and go back to your pc.

Open that draft email on your pc and extract the following info.
Private Key
Access Token
Account ID

You have to look through the info but you will find it there.

Once you have them go back to this file that was generated wgcf-identity.json and edit it with a txt editor. Edit the values with your info that you just used vmos to extract. Save the file now run CMD again. cd to the location of the wgcf.py file. type python wgcf.py again and let it generate an updated config file with your details. You should see this.

762620


Take not it's showing Warp+ Enable: True

That means this config file which you will add as a tunnel in wireguard is warp plus. You can now check https://www.udemy.com/cdn-cgi/trace and should see warp=plus right at the bottom.


That's it all done. You are using Cloudflare Warp Plus on PC.
 

Attachments

blaaislaai

Executive Member
Joined
Mar 6, 2007
Messages
5,403
Dankie

I think this will be my sunday afternoon task, for today :thumbsup::)
 

blaaislaai

Executive Member
Joined
Mar 6, 2007
Messages
5,403
Open up VMOS. Go to settings then About phone scroll to the bottom and tap the build number 7 times. This will enable developer mode. Go back one and go into Developer Options scroll down a bit and enable the ROOT option.
I don't seem to have a Root option in my VMOS after enabling developer mode :/
Rebooted as well
 

cavedog

Honorary Master
Joined
Oct 19, 2007
Messages
17,728
I don't seem to have a Root option in my VMOS after enabling developer mode :/
Rebooted as well
That is weird.

PM @waylander he offered a free conf file then you can skip all those steps and just use that config then you also don't need to pay. :)
 

willsotaku

Well-Known Member
Joined
Mar 3, 2015
Messages
485
So tried this twice, cmd says i have warp+ however site you use to test does not. Thanks for the tut

CMD:
E:\>python wgcf.py
Loading existing identity...
Getting configuration...
Account type: unlimited
Warp+ enabled: True
Creating WireGuard configuration...
All done! Find your files here:
E:\wgcf-identity.json
E:\wgcf-profile.conf

Udemy:
fl=45f35
h=www.udemy.com
ip=xxxxx
ts=1578216411.05
visit_scheme=https
uag=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
colo=JNB
http=http/2
loc=ZA
tls=TLSv1.3
sni=plaintext
warp=on
 

cavedog

Honorary Master
Joined
Oct 19, 2007
Messages
17,728
So tried this twice, cmd says i have warp+ however site you use to test does not. Thanks for the tut

CMD:
E:\>python wgcf.py
Loading existing identity...
Getting configuration...
Account type: unlimited
Warp+ enabled: True
Creating WireGuard configuration...
All done! Find your files here:
E:\wgcf-identity.json
E:\wgcf-profile.conf

Udemy:
fl=45f35
h=www.udemy.com
ip=xxxxx
ts=1578216411.05
visit_scheme=https
uag=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
colo=JNB
http=http/2
loc=ZA
tls=TLSv1.3
sni=plaintext
warp=on
Delete the .conf file and run the script again so it can generate a complete new one
 

willsotaku

Well-Known Member
Joined
Mar 3, 2015
Messages
485
Got it working thanks, seems if you export the onedotone.xml file via titaniumbackup it encrpts the key but with root explorer its uncryped. Thanks so much been struggling for months!
 

willsotaku

Well-Known Member
Joined
Mar 3, 2015
Messages
485
That speed though:

Afrihost - No Warp:

Afrihost Warp:

Now i can get decent int traffic and hopefully watch twitch with no buffer
 

cavedog

Honorary Master
Joined
Oct 19, 2007
Messages
17,728
That speed though:

Afrihost - No Warp:

Afrihost Warp:

Now i can get decent int traffic and hopefully watch twitch with no buffer
Yes with Wireguard there is minimal overhead compared to other VPN encryption. The fact that Cloudflare is peering local in 3 regions is an extra bonus. :)

I'm also with Afrihost and although I do not have speed issues to international at all I prefer the routing Clousdlare is using because it's much lower latency, fast and unlimited. Runs at startup too so very convenient. Don't forget to post feedback :)
 

willsotaku

Well-Known Member
Joined
Mar 3, 2015
Messages
485
Yes with Wireguard there is minimal overhead compared to other VPN encryption. The fact that Cloudflare is peering local in 3 regions is an extra bonus. :)

I'm also with Afrihost and although I do not have speed issues to international at all I prefer the routing Clousdlare is using because it's much lower latency, fast and unlimited. Runs at startup too so very convenient. Don't forget to post feedback :)
Will do had major issues with IPTV/Twitch and most int sites seems no buffer on twich now at all will test iptv bit later so thanks a million!


Stats from twitch
Video Resolution
1920x1080
Display Resolution
1580x904
FPS
60
Skipped Frames
11
Buffer Size
4.59 sec.
Latency To Broadcaster
3.65 sec.
 

blaaislaai

Executive Member
Joined
Mar 6, 2007
Messages
5,403
How can I make exceptions for some websites? Some of my sites are being blocked.
 

cavedog

Honorary Master
Joined
Oct 19, 2007
Messages
17,728
@cavedog Have you tested this with the plex/emby server to see if there is any performance improvements?
Haven't tested any of those sorry. I mainly used it for gaming because it's so damn good on EU servers but started using it for all my traffic. I leave it on 24/7 even when torrenting.


How can I make exceptions for some websites? Some of my sites are being blocked.
I have no idea how to do that maybe someone else can advise.
 

blaaislaai

Executive Member
Joined
Mar 6, 2007
Messages
5,403
My latency to the overwatch EU servers without VPN is 166ms - 170ms
With the vpn enabled, it's 205 - 210ms :unsure:

International speed is greatly improved, especially browsing and streaming
 

cavedog

Honorary Master
Joined
Oct 19, 2007
Messages
17,728
My latency to the overwatch EU servers without VPN is 166ms - 170ms
With the vpn enabled, it's 205 - 210ms :unsure:

International speed is greatly improved, especially browsing and streaming
You are from Western Cape right?

What does https://www.udemy.com/cdn-cgi/trace

You probably going via JHB that is why it's not ideal for people in CPT. For some Reason Warp does not route to CPT peering point rather JHB and back.
 

blaaislaai

Executive Member
Joined
Mar 6, 2007
Messages
5,403
You are from Western Cape right?

What does https://www.udemy.com/cdn-cgi/trace

You probably going via JHB that is why it's not ideal for people in CPT. For some Reason Warp does not route to CPT peering point rather JHB and back.
colo=JNB
http=http/2
loc=ZA
tls=TLSv1.3
sni=plaintext
warp=plus

I see via Jhb indeed.
This just mean I will have to figure out how to do domain and ip-address level exceptions.
 

cavedog

Honorary Master
Joined
Oct 19, 2007
Messages
17,728
colo=JNB
http=http/2
loc=ZA
tls=TLSv1.3
sni=plaintext
warp=plus

I see via Jhb indeed.
This just mean I will have to figure out how to do domain and ip-address level exceptions.
Yeah it's doesn't seem like they do warp in CPT whether that is intentional or not I'm not sure but JHB works fine and Durban works well too. Not sure how to report it either.
 
Top