Using CloudFlare WARP to protect laptops on the run (2024)

Many startups and small businesses these days are going the remote-first route. Mostly because office space is expensive, high quality mobile and home internet is available and cheap, and it gives growing companies access to a global talent pool. It benefits both companies and employees.

One of the risks of being fully remote, however, is that your company’s data is effectively everywhere. There’s no longer a central file server in a secured office protected by a beefy firewall and loads of air conditioning. As a result, security measures have to run closer to the user, built into their devices and the cloud services they use.

In this article, we’ll show you how to use Cloudflare’s WARP agent and their Zero Trust set of tools to help protect your laptops when they access the internet.

We honestly do not have any affiliation with Cloudflare, so there’s no kickback for writing this. We just want to pass on information that we have found to be super useful in our startup, for improving security and data hygiene.

What is Cloudflare WARP

Link to this section

WARP is a combination of a DNS resolver hosted by Cloudflare and a local agent that aims to provide a safer internet experience by blocking malicious websites and keeping your DNS lookups private.

The best part is that it’s free to use for teams with less than 50 people. Yup. Free. You can even use it free for personal use without an account using their their default security features.

Using CloudFlare WARP to protect laptops on the run (1)

While antivirus products are most commonly used to protect laptops, they don’t always do a good job of protecting how you browse the internet. Some come with invasive browser plugins, and overall, they’re not very effective.

What sets Cloudflare apart from a technical standpoint is that:

  • all your DNS queries are encrypted in transit to CloudFlare and being being resolved by them.
  • your first hop for connecting to the internet is encrypted in transit to Cloudflare using a Wireguard implementation called Boringtun to prevent ‘man in the middle’ attacks from dodgy public WiFi.
  • DNS lookups will use CloudFlare’s anti-malware resolvers.
  • Other fun advanced features such as VPN-like proxying to private networks, basic device management and SAML threat rules.

Convinced? Then follow the guide below to get started with Cloudflare.

Set up a Cloudflare account

Link to this section

  1. Go to Cloudflare and set up an account.
  2. Select Explore all products.
  3. Select Zero Trust on the left.
  4. Enter in a team name.
  5. Select the free plan.
  6. Proceed to payment. No you won’t pay, but you do need to enter details.
  7. Enter credit card information. You won’t be charged. They just want to have payment details on record if you exceed free limits or want to add other products. I guess it also deters bots and time wasters.

You should arrive at the Zero Trust dashboard.

Set up your first policy

Link to this section

Setting up a policy lets you filter out selected content categories. There’s a long list of types from malware domains to news sites.

  1. In your Zero Trust dashboard, expand Gateway and select Firewall Policies.
  2. Select Create a DNS Policy.
  3. Name it Block Malware.
  4. Under Traffic, make the following selections:
    1. Selector - Security Categories
    2. Operator - in
    3. Value - Select the categories you want to block, for example Malware and Phishing
    4. Action - Block.
  5. Select Create Policy.
  6. Ignore the error about policies being inactive as we’ll enroll a device later.
Using CloudFlare WARP to protect laptops on the run (2)

Set up a device enrollment policy

Link to this section

A device enrollment policy restricts which users are allowed to connect to your Zero Trust account when installing the WARP client. The policy ensures that the settings you apply are only applied to your co-workers, friends, or whoever else you add to the account.

  1. In your dashboard, go to Settings and then WARP client.
  2. Select Manage next to Device enrollment permissions.
  3. Under Rules, select Add a Rule and input as follows:
    1. Rule name - Default
    2. Rule Action - Allow
    3. Selector - Emails
    4. Value - Your email address
  4. Select Save.
    Using CloudFlare WARP to protect laptops on the run (3)

Install WARP

Link to this section

The WARP client is where a lot of the magic happens. This will ensure that your connection is securely routed through CloudFlare and syncs down the necessary policy settings.

  1. Go to the Cloudflare developers site and download the appropriate WARP client for your OS.

  2. Install the client.

  3. When completed, click on the WARP icon in the taskbar and move the slider to the right to turn on.

    In this mode, all your DNS lookups and web traffic are being routed through Cloudflare. Their DNS resolver 1.1.1.1 is known for speed, privacy, and anti-malware protections. We’re going to take it a step further by registering this agent with our recently created account.

    Using CloudFlare WARP to protect laptops on the run (4)
  4. To register an account:

    1. Click on the cog at the top right and go to Preferences.
    2. Select the Account tab and click Log into Cloudflare Zero Trust.
    3. Enter the team name you selected earlier.
    4. Review their privacy statements.
    5. A new browser window will open up.
    6. Enter your email address (this is the same one we added to that Device Enrollment Policy earlier too). A one-time passcode is sent to your email.
    7. Click Open Cloudflare WARP.

    Now the colors will change to this relaxing blue-purple hue.

    Using CloudFlare WARP to protect laptops on the run (5)

All done!

Link to this section

Your laptop is now using Cloudflare’s secure DNS and your internet connection is being protected from known malicious websites. You can add and remove categories such as Cryptomining and Spyware from the DNS policies based on what you think is a risk to your team.

Hopefully this guide was easy enough to follow and that it will provide some value in providing a bit more security to your team’s remote habits.

Hot tips

Link to this section

There’s a LOT to play around with in the Zero Trust dashboard, so you can do your own exploring to tune it to suit your team’s needs. Here’s a few things to play around with.

Logging

Link to this section

By default, all the DNS lookups are logged and retained for 24 hours, which might be a bit privacy intrusive.

Go to Settings and Network to adjust what gets logged.

Using CloudFlare WARP to protect laptops on the run (6)

Authentication

Link to this section

You can offload the authentication to an identity provider like Google Workspace, Office 365, or even Kinde. That’s not a typo. Kinde supports the OpenID authentication method if you want to manage the user auth with a Kinde business. By default, Cloudflare sends the one time passcode to your email, but this can be changed to a wide variety of authentication providers.

Go to Settings and Authentication.

WARP client settings

Link to this section

You can customize and adjust what settings the WARP client will have once it’s been installed and linked to your team. Options include whether a firewall is enabled or a certain application is installed. This can help ensure that everyone has consistent and secure baseline that work well with your systems from the start.

Go to Settings, WARP Client, and then edit the Default profile.

Split tunnels

Link to this section

Since the WARP client is sending all your network traffic via Cloudflare, you may run into some issues with local services or websites that block Cloudflare. These can be allowlisted to help smooth things.

Go to Settings, WARP Client, then edit the Default profile, and then adjust the Split Tunnel settings.

Using CloudFlare WARP to protect laptops on the run (7)

Team VPN

Link to this section

If you run your production services in a public cloud like AWS, you may be exposing SSH or some other admin interfaces over the public internet. You can prevent some of this by using a Cloudflare tunnel server inside your AWS VPC. Using the Zero Trust trickery, you can configure a Firewall Policy and Split Tunnel, which allows any system that has an authenticated WARP client installed to connect into a network that is accessible by the tunnel service.

It’s basically a VPN into your public cloud network. The rules are extremely flexible and can be secured in a number of ways, such as restricting access to certain IPs, email restrictions, access lists based on groups of users, local device checks, and geolocation.

A prime example is if you have an internal website for managing something in your product that you don’t want to expose to the public internet. Publish it in Zero Trust and only allow team members with an authenticated WARP client to connect to it. A very cool feature.

Using CloudFlare WARP to protect laptops on the run (8)
Using CloudFlare WARP to protect laptops on the run (2024)

FAQs

Can you use Cloudflare WARP as a VPN? ›

Cloudflare's WARP is a VPN add-on for its 1.1. 1.1 DNS resolver (a free app that handles your DNS queries to make your connection faster). WARP essentially protects your traffic with encryption, while 1.1. 1.1 optimizes your DNS to give you a faster connection.

How does Cloudflare WARP protect you? ›

In the past WARP passed on your real IP address to sites - this is no longer the case, all sites see a Cloudflare IP address now. All of your traffic is passed through WARP which can prevent spoofing by your internet service provider or spying if you're on a shared network like a coffee shop.

Does Cloudflare WARP hide your IP? ›

​​ Does WARP reveal my IP address to websites I visit? No. 1.1. 1.1 + WARP replaces your original IP address with a Cloudflare IP that consistently and accurately represents your approximate location.

How to use warp+ on pc? ›

You need to purchase WARP+ through the mobile application, then input the key from your WARP app on your mobile device into the WARP app on your PC, which should give access to WARP+ on your PC as well.

Is Cloudflare better than VPN? ›

VPNs are black boxes: they lack the dynamic controls needed to manage access for remote workers, contractors, supply chain partners and more. Cloudflare Access delivers better flexibility with application-specific controls and easy-to-use rules.

What is the difference between WARP and warp+? ›

While WARP is able to take advantage of the many Cloudflare data centers around the world to give you a more private and robust connection, WARP+ subscribers get access to a larger network.

Does WARP hide my traffic from isp? ›

First, WARP doesn't hide the original IP address; second, localized results can be incorrect based on how Cloudflare automatically routes traffic. In August 2022, Cloudflare announced a significant upgrade to WARP that hides the user's IP address and fixes localization issues.

How do I protect my IP with Cloudflare? ›

You can't protect an IP address using Cloudflare since any traffic going to it can only go direct to your internet connection and not through Cloudflare. You can only proxy hostnames and then allow just Cloudflare traffic into your IP address to keep it hidden.

Does Cloudflare block VPN? ›

Can I block vpn/proxy visitors from cloudflare level ? Yes and no. There are Managed IP Lists for proxies and VPNs, but it is a paid add-on even on Enterprise plans.

Does WARP work on Windows? ›

WARP runs on all computers that can run Windows Vista and later operating systems, even if the computer does not support SSE.

Is WARP safe to use? ›

WARP secures your data with encryption to keep your personal information safe, but it doesn't provide any extra security. For instance, it doesn't offer any form of anonymity protection.

How do I use 1.1 1.1 WARP VPN? ›

​​ Set up 1.1.1.1: Faster Internet
  1. Download 1.1.1.1: Faster Internet from Google Play Open external link for free.
  2. Launch 1.1.1.1: Faster Internet and accept the Terms of Service.
  3. Toggle the WARP button to Connected.
  4. Install the VPN profile that allows your phone to connect securely to 1.1.1.1.
Nov 21, 2023

Does WARP VPN change IP address? ›

Correct, uses WARP protocol to access the internet … It's similar to VPN, as it changes your IP, but you're not able to change/choose your preferred location. Moreover, from my experience, it won't work with download websites, alfafile.net, for example.

Does Cloudflare WARP use WireGuard? ›

WireGuard was the perfect choice for the 1.1. 1.1 with WARP service in 2019. WireGuard is fast, simple, and secure. It was exactly what we needed at the time to guarantee our users' privacy, and it has met all of our expectations.

Can I use Cloudflare DNS with VPN? ›

Cloudflare only proxies HTTP traffic (unless you use Spectrum) so you will need to leave the DNS record for the VPN set to “DNS only”.

Top Articles
Latest Posts
Article information

Author: Geoffrey Lueilwitz

Last Updated:

Views: 5824

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Geoffrey Lueilwitz

Birthday: 1997-03-23

Address: 74183 Thomas Course, Port Micheal, OK 55446-1529

Phone: +13408645881558

Job: Global Representative

Hobby: Sailing, Vehicle restoration, Rowing, Ghost hunting, Scrapbooking, Rugby, Board sports

Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.