Choosing a Cloudflare Tunnel alternative: when NetBird fits
Choose Cloudflare Tunnel when you want hosted, outbound-only access with no inbound listeners to run. Choose self-hosted NetBird when the control plane and its logs must sit in your own infrastructure and your team can operate a public-facing server. A renewal, a data residency rule or a lock-in concern usually comes down to four questions. Where must the control plane sit? Do you need browser-only access to internal apps, or is a client on the device acceptable? Who will operate the public endpoint, patch it and watch it? And will legal accept the AGPLv3 license on the NetBird management, signal and relay servers while the clients stay under BSD-3-Clause?
Cloudflare's docs describe the cloudflared daemon running in your infrastructure and making outbound-only connections, so a firewall can block all inbound traffic. The hosted Tunnel service handles the public side for you. NetBird moves that side onto your own servers. Its self-hosting quickstart needs a Linux VM with at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin. Confirm with your security team that exposing those ports and maintaining the Docker host behind them is an operating model they will sign off on. Also confirm how peers connect when a direct path fails, since NetBird relies on relay fallback in that case.
Settle the licensing before you commit. The NetBird LICENSE file places the management, signal, relay and combined directories under AGPLv3 and the rest under BSD-3-Clause. Cloudflare's cloudflared repository is Apache License 2.0, but the Tunnel service it connects to is Cloudflare's hosted, commercial service, so the client license alone does not settle the operating model. Ask legal whether AGPLv3 duties on modified server code are acceptable. For logs, NetBird's README lists activity and traffic event logging, while its pricing page places audit event logging and traffic logging in paid cloud tiers. Confirm which of those features your self-hosted build includes before you promise an audit trail. If you need clientless browser access to internal apps, evaluate an identity-aware proxy such as Pomerium before assuming NetBird covers that case.
Which scenarios favor each option
This table maps six common situations to the option that fits better, based on the condition that makes it win. Read each row as a test: if your situation matches the condition in the better fit column, that option is the likelier choice. Where a row depends on a NetBird feature or deployment path, confirm it with NetBird before you commit.
| Scenario | Better fit | Why |
|---|---|---|
| Existing Cloudflare footprint, no inbound exposure | Cloudflare Tunnel, when Cloudflare already fronts your apps and you want the same model | cloudflared makes outbound-only connections, so the firewall can block all inbound traffic. |
| Control plane must stay inside the client's network | NetBird, self-hosted, when coordination and policy servers must run in your own infrastructure | Cloudflare Tunnel is hosted by Cloudflare. Self-hosted NetBird runs its control servers on your VM. |
| Air-gapped operation (confirm for NetBird) | NetBird, only if an offline install is confirmed; otherwise neither option fits | Self-hosting quickstart assumes a public domain and open ports; confirm an offline install is supported. |
| No capacity to run a public server | Cloudflare Tunnel, when no one on the team can own a publicly reachable NetBird server | Cloudflare operates the hosted service; self-hosted NetBird needs a public domain, ports 80, 443 and UDP 3478, and upkeep. |
| SSH-centric administration | NetBird, when SSH access should follow group policies inside the overlay network | NetBird lists SSH with central access policies. Confirm the SSH feature on your edition before relying on it. |
| Device posture requirements (confirm NetBird tier) | NetBird, when posture gating is required and the tier that includes it is confirmed | Posture checks, MDM and EDR controls are listed on NetBird's Business tier pricing; confirm what the self-hosted edition includes. |
| Licensing and source access for the servers | NetBird, when you need to run and inspect the server components yourself | NetBird server components are AGPLv3, clients BSD-3-Clause; the Tunnel service itself is hosted by Cloudflare. |
Cloudflare Tunnel needs no inbound listener, NetBird needs three open ports
The diagram starts with a remote user and splits into two designs. In the Cloudflare Tunnel path, a request goes to the Cloudflare network, and cloudflared inside the client network has already opened an outbound-only connection to the nearest Cloudflare data center, so the trust boundary needs no inbound listener. In the self-hosted NetBird path, the client first reaches the management and signal services on a public domain, then uses a direct WireGuard path to the peer when possible and falls back to the relay. The inbound ports are the main difference to check: TCP 80 and 443 and UDP 3478 must be open on the public host for NetBird, while the Cloudflare path needs none.
Cloudflare Tunnel opens no inbound path, while NetBird needs three public ports.
Capabilities mapped to what each option supplies
This table compares what Cloudflare Tunnel and self-hosted NetBird each provide across the capabilities that matter for replacing remote access. Read each cell as the documented feature, and treat any cell that says to confirm as an open question for your own account or deployment. The main takeaway is that NetBird's README lists identity, posture and logging features, but its pricing page ties several of them to cloud tiers, so check what the self-hosted build includes before you plan around it.
| Capability | Cloudflare Tunnel (commercial) | NetBird (open source) |
|---|---|---|
| Connector model and relay fallback | cloudflared runs in your infrastructure with outbound-only connections, so no inbound listeners are needed. | Peer-to-peer WireGuard overlay with relay fallback. The quickstart expects TCP 80, 443 and UDP 3478 open. |
| Supported resource types | HTTP web servers, SSH servers and RDP are listed as supported resources. | Routes to external networks. Confirm how each HTTP, SSH and RDP target is reached in your design. |
| Client platforms | cloudflared downloads for Linux, macOS, Windows and Docker. | Linux, macOS, Windows, Android, iOS, FreeBSD, OPNsense, pfSense, TrueNAS and Raspberry Pi, among others. |
| SSO, MFA, groups and access rules | Confirm identity provider, MFA and group policy options in your Zero Trust plan. The Tunnel documentation does not cover them. | SSO, MFA, groups and rules for access control. The pricing page ties enterprise identity provider SSO and MFA to its Team tier. |
| Device posture | Confirm posture check support and which device signals are available on your plan. | Posture checks and device approvals. The pricing page ties posture checks to its Business tier. |
| Activity and traffic logs | Confirm log types, retention and export options for your account before you rely on them. | Activity and traffic event logging. The pricing page places audit event logs in Team and traffic logging and streaming in Business. |
| SSH policy, API and infrastructure as code | SSH servers are a supported resource. Confirm the SSH policy model and API coverage in your account. | SSH with central access policies, a public API, setup keys, a Terraform provider and an Ansible collection. |
| Exit nodes and private DNS | Cloudflare Mesh is the default connector for private access and private networks. Confirm DNS and exit routing features. | Exit nodes and private DNS are part of the feature set. Confirm which options your self-hosted build enables. |
| License and hosting model | cloudflared is Apache-2.0, but the Tunnel service is Cloudflare's hosted commercial service. Docs state no pricing or plan requirement. | Clients are BSD-3-Clause. Management, signal and relay servers are AGPLv3, and the whole stack self-hosts with Docker. |
Where the control plane, traffic and logs sit in each model
Both models send traffic through a small agent inside your network, but the control plane is different. In a hosted Tunnel model, Cloudflare runs the coordination and policy layer. In a self-hosted NetBird model, you run the management, signal and relay services in your own VM. The cards below show where each component, identity link and log record sits, and what to confirm before you decide.
Outbound cloudflared connector
The cloudflared daemon runs on hosts you control and makes outbound-only connections, so it needs no inbound listeners and your firewall can block all inbound traffic to it. Cloudflare's docs list HTTP web servers, SSH servers and RDP among supported resources. The docs also say one tunnel can run several connectors, each routing to the nearest Cloudflare data center. Each connector host is a system you must patch and monitor, so confirm which hosts run it and which cloudflared version your change process approves.
Tunnel docsHosted Tunnel control plane
Cloudflare runs the control plane, so tunnel registration, routing and attached access policies operate on Cloudflare's side of the connection. The Tunnel docs state no pricing or plan requirement, so confirm which Zero Trust entitlements your contract includes. Ask Cloudflare in writing where access decisions and session logs are stored, how long they are retained and which regions handle them, because those answers form your evidence trail. Your team cannot inspect or patch this layer directly, so the vendor's logging terms become part of your risk assessment.
Self-hosted NetBird services
NetBird's management, signal and relay servers run in a Linux VM you own. The quickstart lists at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin. The management, signal and relay code is licensed under AGPLv3, while the clients are BSD-3-Clause. Your team then owns patching, backups, certificate renewal and relay capacity, so plan a tested restore path before cutover and size the VM for your peer count.
Self-hosting quickstartIdentity and SSO connections
Both models depend on your identity provider to decide who may connect. NetBird's pricing page places SSO and MFA with an enterprise identity provider, plus SCIM provisioning, in its Team tier, so confirm which of these your self-hosted build provides before you design the login flow. Map each Cloudflare access policy to a group in your identity provider. Test that a removed user loses access on both sides, and record whether MFA is enforced at the identity provider, at the tool or both.
NetBird pricingNIST and CIS remote access controls
NIST SP 800-207 states that zero trust assumes no implicit trust based on physical or network location or asset ownership, so the choice between these tools does not change that principle. CIS Controls v8.1 Safeguard 6.4 expects multi-factor authentication for remote network access. NIST SP 800-171 requirements 3.1.12 to 3.1.14 call for monitored and controlled remote sessions, cryptographic protection and routing through managed access points. DeployOpen prepares configurations, logs and evidence for your assessor. It issues no audit report or certification, and independent auditors and certification bodies make those determinations.
NIST SP 800-207What Apache 2.0, BSD-3-Clause and AGPLv3 mean for your deployment
The cloudflared connector is licensed under the Apache License 2.0, a permissive license that lets your team inspect, modify and run the client on its own servers. The Tunnel service that those connectors register with is a different matter. It is Cloudflare's hosted, commercial service, so the client license does not make the service self-hostable. Tunnel registration, edge routing and access policies depend on Cloudflare's service, and the Apache 2.0 terms do not change that. Before a renewal, list every component in your current setup, then mark which ones you can run without Cloudflare's account and which ones you cannot.
NetBird splits its licensing by directory. The clients are BSD-3-Clause, so the agents on laptops, servers, routers and NAS devices carry a permissive license. The management, signal and relay servers, along with the combined directories, are AGPLv3, and copyright is held by NetBird GmbH and its authors. NetBird's LICENSE file sets out the split. AGPLv3 is copyleft with a network clause: if your organization modifies one of those server components and lets users interact with the modified version over a network, you may be required to offer those users the corresponding source code of your changes. Running unmodified server code inside your own network generally does not trigger that offer, but any internal patch to the management or relay server becomes a licensing decision that needs a written record and a review.
Have counsel confirm these obligations against the exact license text in the NetBird release you plan to deploy, including the version number, because the directory-level split and the network clause depend on which files you modify and how users reach the server. Ask counsel to address the client software separately from the server, since the two carry different terms. Then compare the hosted and self-hosted routes. The NetBird pricing page lists cloud plans with their own feature tiers: Team includes SSO and MFA with an enterprise identity provider, SCIM provisioning and audit event logging, and Business adds device approvals, MDM and EDR device controls, posture checks and traffic logging. Confirm each of those features exists in the self-hosted build you plan to run before you cite it in a security review.
What a self-hosted Cloudflare Tunnel alternative costs to run
The cost of a self-hosted replacement sits in different places than a Cloudflare Tunnel bill. Some items are one-time, such as the build and migration, while hosting, staff time, relay bandwidth and any NetBird cloud subscription recur. Use these cards to build a cost model before you ask for a written quote.
Cloudflare account terms
Cloudflare's Tunnel documentation states no pricing or plan requirement, so the cost to confirm is what your Cloudflare agreement charges for Tunnel and for any other Cloudflare products your team uses. Confirm your account terms before you model anything, since whether those charges recur depends on the contract. Ask your account team which lines would stop after cutover and which would continue during a pilot, because a parallel run keeps both bills active.
Tunnel docsSelf-hosted NetBird virtual machine
The quickstart needs a Linux VM with at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin. Treat that as the floor for a test. Production sizing is a separate decision that depends on users, devices, and how long you keep activity logs, since log retention sets the disk you provision. The VM, the domain and backup storage recur on your own infrastructure bill.
Quickstart docsStaff time for operations
Staff time is paid through your payroll or a partner's retainer, and it does not appear on a vendor invoice. The build is one-time work. Upgrades, monitoring, domain and certificate upkeep, and on-call recur, and how often routes and policies change sets the review time each month. Ask any partner to split the quote into build and ongoing support.
Relay and bandwidth
NetBird connects peers directly where it can and uses relay fallback where it cannot. Relayed traffic uses your bandwidth, so cost depends on how much data your users and services move and on the egress terms of the provider hosting the relay. A relay far from your users can add latency, so measure traffic during the pilot and ask your cloud provider for egress pricing before you size the VM.
NetBird READMENetBird cloud subscription
If you buy NetBird cloud instead, its pricing page lists Free for up to 5 users and 100 machines, Team at 6 euros and Business at 12 euros per user per month, each with a machine allowance and per-machine charges above it, and custom Enterprise pricing. Billing counts only active users and machines. Team adds SSO and MFA, SCIM provisioning and audit event logging, while Business adds device approvals, posture checks and traffic logging. Confirm which of these controls the self-hosted edition includes, since the pricing page describes the cloud plans.
NetBird pricingOne-time migration and pilot
Moving from Cloudflare Tunnel means mapping each published hostname and access rule to NetBird groups, rules and setup keys, then running a pilot before cutover. This is one-time work, but its size grows with the number of resources and policies and with how many teams need retraining. Ask the quote to name the pilot scope, the cutover window, the rollback steps and who approves each application moving over.
What running the NetBird control plane asks of your team
Running NetBird means operating a public control plane as well as deploying clients. Upgrades are the most frequent task. The NetBird releases page shows v0.81.0 published on October 15, 2026, and v0.81.2 published on October 16, 2026, so the two most recent releases arrived one day apart. Each upgrade of the self-hosted stack needs a change window, a read of the release notes, a Docker Compose pull and restart, and a test sign-in through SSO with one enrolled peer before users are affected. Your team owns that upgrade cycle. With Cloudflare Tunnel, Cloudflare runs the edge, and the client team mainly maintains the cloudflared connector on its own hosts.
The second recurring job is keeping the public endpoint reachable and certified. The self-hosting quickstart requires a public domain, TCP ports 80 and 443 open, and UDP port 3478 open. Your team must renew TLS certificates for that domain, keep the firewall and any cloud security group aligned with those three ports, and monitor them from outside your network. Relay health needs its own watch, because peers that cannot form a direct path fall back to relays, and a relay problem may show up as degraded connections for users. Ask how certificates are issued and renewed in your deployment, and which health checks and alerts your partner recommends for each component.
The third area is data and staffing. The management service holds the peer, group and policy data that the overlay depends on, so restore testing is the control that proves your backups work. Run a restore into a separate VM on a schedule you set, then record how long it takes and whether peers reconnect. A public endpoint also needs on-call coverage that someone can act on during an outage at any hour. Before you commit, ask your vendor or implementation partner about the upgrade cadence and security patch process, how often they recommend restore tests and who runs them, which release versions they support, and what happens to users during a management or relay outage.
What a move from Cloudflare Tunnel to NetBird involves
The sequence runs in a fixed order: inventory what is published today, map each policy to NetBird groups and rules, prove the design in a test network, then cut over one group at a time. It ends with retired connectors and a dated evidence set that an assessor can follow without a verbal walkthrough.
Inventory published hosts, routes and SSH and RDP targets
Your platform or network team lists every hostname published through Cloudflare's Tunnel documentation covers, every private network route, and every SSH and RDP target, along with the users and groups allowed to reach each one. We have not found a configuration export described for Cloudflare Tunnel, so plan for a manual inventory unless Cloudflare confirms an export for your account. The step is done when each row names the resource, its protocol, its owning team and its current allowed users, and the owners have signed off that the list matches what the connectors actually serve.
Map identities and policies to NetBird groups
Translate each Cloudflare Zero Trust policy that governs these resources into NetBird groups, access rules and SSH policies. Connect your identity provider through SSO, and confirm with NetBird which plan includes SCIM provisioning and device posture checks, since those features sit on its paid tiers. Flag every policy with no clear NetBird equivalent, such as a condition you cannot reproduce with posture checks or routing, and decide with the policy owner whether to drop it, approximate it or keep it on a separate control. The step is done when a reviewer can trace every inventory row to a NetBird group and rule, and every flagged policy has a written decision.
Stand up a pilot in a test network
Build the NetBird stack in a test network by following the self-hosting quickstart. The quickstart lists a Linux VM with at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin. Point the pilot at the same identity provider you plan to use in production, and enable MFA before any test user enrolls. The step is done when the management, signal and relay components are running, a test peer connects, and the admin UI shows that connection in its activity logs.
Install clients and test SSH, RDP and web access
Install NetBird clients on pilot endpoints and on the hosts that will serve the routes, and confirm each operating system you use appears on NetBird's client list. Test each access type from each user group: SSH under the central SSH policy, RDP to a Windows host, and HTTP to internal web servers through a route. Record every result against its inventory row, including the expected denials for users who should not reach a resource. The step is done when every inventory row has a passing test from an allowed user and a failing test from a user who should be blocked.
Run both paths in parallel and cut over by group
Keep Cloudflare Tunnel serving production while NetBird serves only the pilot groups. Move one group at a time, starting with a team whose resources carry the lowest impact, and keep the Cloudflare policy in place as a fallback until that group has completed normal work on NetBird. The change owner and the affected team agree on the observation period before each move, and each wave has a written rollback path. The step is done when every group has moved, each rollback path has been tested, and no open access issues remain from the cutover.
Retire connectors after clean logs and reviews
Once the activity and traffic logs for each migrated resource show the expected allowed and denied sessions, and the first access review on NetBird is complete, stop the cloudflared connectors. Remove the tunnel routes and Cloudflare policies that no longer carry traffic, and confirm with Cloudflare that no other service depends on the tunnel. Then remove the outbound firewall allowances and decommission or repurpose the connector hosts. The step is done when the tunnel shows no active routes and the removal is recorded in your change log.
Keep evidence for assessors
Collect the artifacts assessors usually request: the signed inventory, the policy mapping with its flagged exceptions, pilot and cutover test results, MFA settings for remote access, and exported logs with the retention you have configured. Map each artifact to the control your assessor uses, such as the remote access and MFA safeguards in the CIS Controls or the remote access requirements in NIST SP 800-171 for CMMC Level 2 scope, and confirm those expectations with your assessor. DeployOpen prepares this evidence for assessment but does not issue audit reports or certifications. The step is done when an assessor can follow each control to a dated artifact without a verbal explanation.
Questions to answer before you move off Cloudflare Tunnel
How much does running NetBird ourselves cost compared with Cloudflare Tunnel?
Self-hosting NetBird swaps a hosted service for infrastructure and staff time, so the comparison works component by component. Cloudflare's Tunnel docs state no pricing or plan requirement, so the figure you compare is the full cost of the alternative. The recurring items are the Linux virtual machine that runs the management, signal and relay services, your domain and DNS, outbound bandwidth for relayed traffic, backups, monitoring, and engineer time for upgrades and incidents. The one-time items are design, the first deployment and the migration. The NetBird self-hosting quickstart lists at least 1 CPU and 2 GB of memory as a starting point, but sizing should come from your own load. Costs rise with the number of sites, the share of traffic that falls back to relay, and the on-call coverage you need. Ask any quote to split these lines and to state which hosting, support and upgrade work is included.
How long does a move from Cloudflare Tunnel to NetBird take?
A move takes as long as the number of resources, the number of access policies, the pilot scope and your change windows allow, so no duration means much until those are counted. Resources include each web app, SSH server and RDP target that Cloudflare Tunnel publishes today. Policies include each rule you need to rebuild as NetBird groups and access rules. A pilot with a small user group shows where the rebuild is slow, and production cutover waits for the change window your change board approves. A written scope fixes the timeline by listing the resources in scope, the policies to rebuild, the pilot users, the cutover date and the rollback steps. Ask any provider to show the assumptions behind a duration and which items would extend it if the inventory grows.
What does a NetBird migration need from our team?
A move needs five things from your side, and the named owner matters most because scope and cutover decisions need someone with authority to make them.
- A named owner who signs off scope, pilot users and cutover
- A Linux host with Docker and the Compose plugin, sized for your load
- A public domain with DNS control, plus TCP 80 and 443 and UDP 3478 open for the NetBird services
- Admin access to your identity provider for SSO and MFA setup
- Change approval for the pilot and for each production cutover
Your team should also export an inventory of current Tunnel routes, the cloudflared hosts that serve them, and the access rules that protect each route. That inventory drives the scope and the effort estimate, so build it before you request a quote.
Can our own engineers move off Cloudflare Tunnel without outside help?
Yes, a capable platform team can deploy NetBird from the official documentation, and some will. The real question is whether your team has the time, the test plan and the on-call cover for a pilot, a cutover and a rollback. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, under a fixed scope agreed in writing before work starts. The added value is the work your team would otherwise carry alongside daily duties, including the design, hardening and documentation. Ongoing upgrades and continuous testing are available as a retainer after cutover. Ask your engineers to estimate their own hours for each step in the inventory, then compare that estimate with a written scope before deciding who does the work.
Does NetBird cover RDP and web access the way Cloudflare Tunnel does?
Confirm it in a pilot, because NetBird's access model differs from Tunnel's for web access. The Cloudflare Tunnel docs list HTTP web servers, SSH servers and RDP among supported resources, and the connector only makes outbound connections. NetBird is a WireGuard overlay: users run a client, the peer reaches the host over the private network, SSH access is controlled by central policies, and routes to external networks cover subnets. On that model, RDP and web access over the overlay should work for users with the client installed, but your pilot must prove it on your own hosts. Clientless browser access to an internal web app is a different pattern that the NetBird README does not describe, so do not assume it. Test RDP sessions, the web apps your staff use, and any browser-only partner access as separate cases.
Is the AGPLv3 license on NetBird's server components a barrier?
AGPLv3 is not automatically a barrier, but counsel should review it before you deploy. The NetBird LICENSE file states that the clients are BSD-3-Clause, while the management, signal and relay components are AGPLv3. Counsel will look at whether you modify those server components, whether you distribute them, and whether users interact with a modified version over a network, since the AGPL network clause addresses that case. Unmodified internal use creates different obligations from a modified build offered to outside users. Give counsel the LICENSE file, your planned deployment and any patch you expect to carry. Record the decision in your software license register so the next audit or renewal starts from a documented position.
How DeployOpen helps you evaluate, implement and migrate
DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For Cloudflare Tunnel vs NetBird, the work starts from your current Tunnel routes and access policies and moves them to a NetBird deployment in your cloud account, data center or air-gapped network. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope lists which Cloudflare Tunnel routes, hostnames and access policies move to NetBird.
- The scope confirms how each HTTP, SSH and RDP resource will be reached after cutover.
- Fixed-scope engagements agree deliverables and timelines in writing before any work starts.
How we build
- We check the self-hosting prerequisites first: a public domain, TCP 80 and 443, and UDP 3478 open.
- Sizing starts from NetBird's self-hosting quickstart: a Linux VM with at least 1 CPU and 2 GB of memory.
- We map Tunnel's outbound-only connectors to NetBird peers and routes, then test each path before cutover.
How we hand over
- Written scope defines the documentation handed over, such as the configuration record and access policy map.
- Client rollout planning covers NetBird clients for Linux, macOS, Windows, Android and iOS devices in use.
- Cutover includes a rollback path back to Cloudflare Tunnel until the new routes pass testing.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Backup and hardening of the NetBird servers are scoped in writing, including restore testing.
- Security testing of the deployed setup and its access policies can follow as a separate fixed-scope engagement.

