Created
April 2, 2024 21:10
-
-
Save dalion619/d68bbfdcf1d54d352bd2a2b3334a32e6 to your computer and use it in GitHub Desktop.
Cloudflare Access bastion host/jump server/jump box config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tunnel: 1ba1811b-3315-4e11-8ef1-de51136084df | |
credentials-file: C:\Users\lionelchetty\.cloudflared\1ba1811b-3315-4e11-8ef1-de51136084df.json | |
ingress: | |
# This service inherits all configuration from the root-level config, i.e. | |
# it will use a connectTimeout of 30 seconds. | |
- hostname: jump.lionelchetty.dev | |
service: bastion | |
# Some built-in services (like `http_status`) don't use any config. | |
- service: http_status:404 | |
logfile: C:\Users\lionelchetty\.cloudflared\cloudflared.log | |
# cloudflared access tcp --hostname jump.lionelchetty.dev --url {local ip:port} --destination {remote relative-ip:port} | |
# cloudflared access tcp --hostname jump.lionelchetty.dev --url localhost:3389 --destination localhost:3389 | |
# cloudflared access tcp --hostname jump.lionelchetty.dev --url localhost:3306 --destination dev.mysql:3306 | |
# multiple connections over the same hostname - windows terminal | |
# wt cmd /k "cloudflared access tcp --hostname jump.lionelchetty.dev --url localhost:13306 --destination 10.0.1.10:3306"; new-tab cmd | |
# /k "cloudflared access tcp --hostname jump.lionelchetty.dev --url localhost:23306 --destination 10.0.1.20:3306"; new-tab | |
# cmd /k "cloudflared access tcp --hostname jump.lionelchetty.dev --url localhost:33306 --destination 10.0.1.30:3306"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment