Hi I m not familiar with yaml all that

Hi I'm not familiar with yaml all that much. Can someone show me an example of having the url and json details for multiple files in the same config file? Thank you so much
12 Replies
Cyb3r-Jak3
Cyb3r-Jak3•3y ago
I'm confused for what you are looking for? Is this for cloudflared?
Schrodinger
SchrodingerOP•3y ago
yes i have a config.yaml set up for a tunnel
url: http://localhost:6002
tunnel: 82addcdd-29fa-4886-ab63-0491881a341e
credentials-file: /root/.cloudflared/82addcdd-29fa-4886-ab63-0491881a341e.json
url: http://localhost:6002
tunnel: 82addcdd-29fa-4886-ab63-0491881a341e
credentials-file: /root/.cloudflared/82addcdd-29fa-4886-ab63-0491881a341e.json
how do i add more tunnel details into this config
Cyb3r-Jak3
Cyb3r-Jak3•3y ago
You should look into remote managed tunnels (https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/remote-management/) all config is done through the web app. No YAML needed
Remote management · Cloudflare Zero Trust docs
Cloudflare Oneâ„¢ is the culmination of engineering and technical development guided by conversations with thousands of customers about the future of the corporate network. It provides secure, fast, reliable, cost-effective network services, integrated with leading identity management and endpoint security providers. These docs contain step-by-ste...
Schrodinger
SchrodingerOP•3y ago
im not really sure what i am looking at here 🥲
Cyb3r-Jak3
Cyb3r-Jak3•3y ago
So you make all the configuration you would in a YAML file but instead of pointing Cloudflared at the YAML file, you install it as a service with a token
Schrodinger
SchrodingerOP•3y ago
i have cloudflared as a service installed but im not sure how to access this web app or how it works
Cyb3r-Jak3
Cyb3r-Jak3•3y ago
Which webapp? The one you are running locally or the one that you use to configure the site?
Schrodinger
SchrodingerOP•3y ago
configuring the site i assume? i am not really sure lol. im super new to this. i just have a server set up and want to route multiple tunnels to different localhosts
Cyb3r-Jak3
Cyb3r-Jak3•3y ago
1. Go to https://dash.cloudflare.com (you might need to put a credit card in for human verification) 2. On the side open Access -> Tunnels 3. Right hand side Create a Tunnel -> fill in name 4. For public hostname: 1. Add the subdomain ie hello and domain ie example.com. You don't have to worry about path. 2. For service leave as HTTP. For URL you want localhost:6002 based on your config 3. Click Save <Tunnel Name> 5. Back on the tunnels page find your tunnel and click configure 6. Then you can add as many public hostnames as you want.
Schrodinger
SchrodingerOP•3y ago
No description
Schrodinger
SchrodingerOP•3y ago
i don't have the access tab
Cyb3r-Jak3
Cyb3r-Jak3•3y ago
Sorry you need to click Zero Trust in the menu
Want results from more Discord servers?
Add your server