Files
CLI-Notes/cloudflared.md
Rakshit Kumar Singh ad1463943e
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 18s
workflow
2026-02-28 00:55:20 +05:30

615 B

  1. Running cloudflared without credential file.
cloudflared tunnel token <tunnel-name>
cloudflared tunnel run --token <tunnel-token>
  1. Adding a sub domain to a tunnel
cloudflared tunnel route dns <tunnel-name> <sub-domain>
  • If it is assigned to another tunnel then we can only go and delete on the dashboard.
  1. Cloudflared config file
tunnel: <tunnel-name>
credentials-file: <credential-file-path>

ingress:
  - hostname: git.example.com
    service: http://localhost:3000

  - hostname: git.ssh.example.com
    service: ssh://localhost:22

  - service: http_status:404