---
title: Locally-managed tunnels · Cloudflare Zero Trust docs
description: A loocally-managed tunnel is a Cloudflare Tunnel created by running cloudflared tunnel create <NAME> on the command line. Tunnel configuration is stored in your local cloudflared directory.
lastUpdated: 2025-02-27T03:56:47.000Z
source_url:
  html: https://9d8cd229.preview.developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/index.md
  md: https://9d8cd229.preview.developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/
---

A loocally-managed tunnel is a Cloudflare Tunnel created by running `cloudflared tunnel create <NAME>` on the command line. Tunnel configuration is stored in your local [cloudflared directory](#default-cloudflared-directory).

Note

Cloudflare recommends setting up a [remotely-managed tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/). Remotely-managed configurations are stored on Cloudflare, which allows you to manage the tunnel from any machine using the dashboard, API, or Terraform.

* [Create a locally-managed tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/create-local-tunnel/)
* [Configuration file](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/configuration-file/)
* [Run as a service](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/as-a-service/)
* [Useful commands](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/tunnel-useful-commands/)
* [Tunnel permissions](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/tunnel-permissions/)
* [Useful terms](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/local-tunnel-terms/)
