cloudflared tunnel create <name>

Creates a tunnel, registers it with Cloudflare edge and generates credential file used to run this tunnel. Use "cloudflared tunnel route" subcommand to map a DNS name to this tunnel and "cloudflared tunnel run" to start the connection

Arguments

NameDescription
name

Options

NameDescription
--config <value>
  • Required ✳
--origincert <value>
  • Required ✳
--autoupdate-freq <value>
  • Required ✳
--no-autoupdateDisable periodic check for updates, restarting the server with the new version. (default: false) [$NO_AUTOUPDATE]
--metrics <value>
  • Required ✳
--pidfile <value>
  • Required ✳
--loglevel <value>
  • Required ✳
--transport-loglevel, --proto-loglevel <value>
  • Required ✳
--logfile <value>
  • Required ✳
--log-directory <value>
  • Required ✳
--trace-output <value>
  • Required ✳
--output, -o <format>Render output using given FORMAT. Valid options are 'json' or 'yaml'
--credentials-file, --cred-file <value>Filepath at which to read/write the tunnel credentials [$TUNNEL_CRED_FILE]
--secret, -s <value>Base64 encoded secret to set for the tunnel. The decoded secret must be at least 32 bytes long. If not specified, a random 32-byte secret will be generated. [$TUNNEL_CREATE_SECRET]