[Tutorial] How to use Cloudflare WARP on your Mac

Thank you so much for creating Cloudflare WARP! I enjoy using it on my phone and I’m very excited about the technology behind it and all the potential it offers for upgrading existing routing and speed. I finally have an IPv6 address after all these years :slight_smile:

I was looking for a way to make Cloudflare WARP work on my Mac as well and wanted to share my experience.

This step-by-step video tutorial will guide you through the procedure of installing WireGuard and Cloudflare WARP on your Mac:

Use Cloudflare WARP on your Mac - https://www.youtube.com/watch?v=eeHO5NZGkBI

Here are the setps:

  1. Download the official WireGuard app from the Mac App Store:

  2. Open the App, Click on the + symbol on the bottom left corner and choose “Add Empty Tunnel…”

  3. On the new window, the app will generate new Private key and Public key. Keep this window open for the time being.

  4. Download the main.py file from here (credit goes to its original creators):

  5. Go to the Online Pyton Compiler website:

  6. Copy the contents from the main.py file, paste it on the Online Pyton Compiler website and click on “Run” from the top menu.

  7. The Pyton script will ask for the Public and Private keys generated on the WireGuard app. Simply copy and paste them from the app when requested.

  8. When the Pyton script completes, it will create a new CloudFlare WARP account and will save the config info in a file called “wgcf-profile.conf”. Copy the contents from the “wgcf-profile.conf” file on the website and paste them inside the WireGuard app window (replacing the existing text).

  9. Finally, name the connection “CloudFlare WARP” (or whatever you like) and click on “Save”.

  10. Click on “Activate” inside the WireGuard app to connect your Mac to the CloudFlare WARP service.

That’s it!

P.S. If you already have a WARP or WARP+ account on your phone, you can also get the Public and Private keys from there (and skip the steps 4-7). However, the procedure might be more complex and could require access to your phone Backup files.

So I’m not saying don’t do it, because a. It’s the internet and b. I can’t even get my dog to do what I say… but I do want to just point out this is technically not supported today.

Will it work? Almost certainly. Will it always work? Unclear. Will we triage bug reports for desktop issues? Probably, but the disposition will likely be to close the report.

As long as you are not looking for new and exciting ways to abuse the ■■■■ out of our services (maliciously… if you are doing research then cool beans) then I doubt we really care (disclaimer… opinion is my own but the people who might care are really really busy with more important things so if you don’t make them notice you I am not going to either).

Seriously @cloonan I can’t say ■■■■? But I bet I can use the emoji… :poop:

Why must you always stifle my desire for engaging discourse?


Thank you so much for the reply!

I know what you mean. I really hope it will be received in the good spirit in which it is intended, to try out cool technology.

Looking forward for the official Desktop WARP app, this is only a workaround for people like me in the meantime.

I’m sure you can detect the device type initiating the connection and segregate if needed.

However, if it causes any issues (or if needs to be removed for any reason), please let me know and I would remove it right away.