cloudflared
cloudflared 2026.9.1
Client for various Cloudflare services, including Tunnel, Access, and DNS over HTTPS
<rendered-html><p>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 <a href="https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel">Cloudflare Tunnel section</a> of the Cloudflare Docs. All usages related with proxying to your origins are available under <code>cloudflared tunnel help</code>.</p> <p>You can also use <code>cloudflared</code> to access Tunnel origins (that are protected with <code>cloudflared tunnel</code>) for TCP traffic at Layer 4 (i.e., not HTTP/websocket), which is relevant for use cases such as SSH, RDP, etc. Such usages are available under <code>cloudflared access help</code>.</p> <p>You can instead use <a href="https://developers.cloudflare.com/cloudflare-one/team-and-resources/devices/warp/">WARP client</a> (<code>pkgs.cloudflare-warp</code> or <code>services.cloudflare-warp</code> on NixOS) to access private origins behind Tunnels for Layer 4 traffic without requiring <code>cloudflared access</code> commands on the client side.</p> </rendered-html>
https://www.cloudflare.com/products/tunnelInstall
Copy into your configuration
environment.systemPackages = with pkgs; [ cloudflared ];
nix-shell -p cloudflared
nix run nixpkgs#cloudflared