---
description: Replace your traditional VPN with Cloudflare Zero Trust. Choose a connection scenario to get started.
title: Replace your VPN
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/cloudflare-one/llms.txt  
> Use this file to discover all available pages before exploring further.

# Replace your VPN

Last updated Apr 17, 2026|Copy as Markdown|[View as Markdown](https://developers.cloudflare.com/cloudflare-one/setup/replace-vpn/index.md)|[Agent setup](https://developers.cloudflare.com/agent-setup/)

Cloudflare One uses Cloudflare's global network and Zero Trust Network Access (ZTNA) to replace traditional VPNs. After you securely connect your devices and resources to Cloudflare, you can set policies to verify every request based on identity and context, reducing your attack surface and improving performance for remote users. For more background, refer to [Why should you replace your VPN?](https://developers.cloudflare.com/learning-paths/replace-vpn/concepts/why-vpn/)

How you set this up depends on what needs to connect to what. Choose the scenario that matches your use case:

### [Device to network](https://developers.cloudflare.com/cloudflare-one/setup/replace-vpn/device-to-network/)

Connect remote users to internal applications and services through a secure connection. Best for remote access to private networks.

### [Device to device](https://developers.cloudflare.com/cloudflare-one/setup/replace-vpn/device-to-device/)

Create secure, direct connections between two or more devices through Cloudflare's network using Mesh IPs. Best for device-to-device communication.

### [Network to network](https://developers.cloudflare.com/cloudflare-one/setup/replace-vpn/network-to-network/)

Connect two or more private networks bidirectionally through Cloudflare. Best for linking offices, data centers, or cloud environments.

Note

For in-depth guidance on policy design and device posture checks, refer to the [Replace your VPN learning path](https://developers.cloudflare.com/learning-paths/replace-vpn/concepts/).

Was this helpful?

YesNo

## On this page

[![](https://developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/cloudflare-one/setup/replace-vpn/#page","headline":"Replace your VPN · Cloudflare One docs","description":"Replace your traditional VPN with Cloudflare Zero Trust. Choose a connection scenario to get started.","url":"https://developers.cloudflare.com/cloudflare-one/setup/replace-vpn/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-04-17","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
