head to head · open source

cloudflared vs OpenVPN

cloudflared has 16,673 GitHub stars, 1,544 forks, 545 open issues and last shipped 4 days ago. OpenVPN has 14,851 stars, 3,445 forks, 226 open issues and last shipped yesterday. cloudflared leads on adoption by 12% (16,673 vs 14,851 stars). cloudflared is written in Go under Apache-2.0; OpenVPN is written in C under a custom or non-standard licence. cloudflared has attracted 9% as many forks as stars, OpenVPN 23%. OpenVPN was the more recently maintained of the two, and both are self-hostable with no licence fee.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

cloudflared ★ 17K OpenVPN ★ 15K category Infrastructure & Operations

← all 20902 open source comparisons

Side by side

cloudflared OpenVPN
GitHub stars ★ 17K ★ 15K
License Apache-2.0 Custom / other
Written in Go C
Last push 2026-11-17 2026-11-20
Forks ⑂ 1.5K ⑂ 3.4K
Self-hosting Yes Yes
Data ownership Your server Your server

pick cloudflared if

  • You weight community size — 17K stars and counting
  • You want the Apache-2.0 license terms
  • Your stack matches Go
  • You value the larger contributor base for long-term maintenance

full cloudflared profile →

pick OpenVPN if

  • You want the OpenVPN feature set and don't need the biggest community
  • You prefer the Custom / other license terms
  • Your stack matches C
  • You evaluated both and OpenVPN fits your workflow better

full OpenVPN profile →

About cloudflared

Cloudflare Tunnel client Contains the command line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins. This daemon sits between Cloudflare network and your origin (e.g. a webserver). Cloudflare attracts client requests and sends them to you via this daemon, without requiring you to poke holes on your firewall your origin can remain as closed as possible. Extensive documentation can be found in the Cloudflare Tunnel section of the Cloudflare Docs. All usages related with proxying to your origins are available under cloudflared tunnel help . You can…

read the full cloudflared overview →

About OpenVPN

OpenVPN A Secure tunneling daemon Copyright (C) 2002 2026 OpenVPN Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. To get the latest release of OpenVPN, go to: To Build and Install, tar zxf openvpn .tar.gz cd openvpn ./configure make make install or see the file INSTALL for more info. For information on how to build OpenVPN on/for Windows with MinGW or MSVC see README.cmake.md. For detailed information on OpenVPN, including examples, see the man page For a sample VPN…

read the full OpenVPN overview →

More in Infrastructure & Operations

Related comparisons

More Networking & Connectivity projects

Compare either of these against the rest of the Networking & Connectivity field.

Frequently asked questions

Is cloudflared or OpenVPN more popular?

cloudflared has 16,673 GitHub stars and OpenVPN has 14,851. cloudflared has the larger community by that measure.

Are cloudflared and OpenVPN free?

Both are open source. cloudflared is licensed under Apache-2.0, and OpenVPN has no licence declared in this registry. Both are free to self-host.

What is the difference between cloudflared and OpenVPN?

cloudflared is written in Go and OpenVPN in C. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, cloudflared or OpenVPN?

Choose cloudflared if you want the larger community (16,673 stars) or its Apache-2.0 licence terms. Choose OpenVPN if its feature set, stack or Custom / other licence fits better. Both are self-hostable.