-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new share tool, cloudflared #1467
Conversation
Thanks so much for this PR! I hope to get to it this week, but if not, It'll be a few weeks before I get back to it. Anyone else is welcome to test it out and weigh in whether it works for you! |
Hi @mattstauffer! Thanks for taking care of this. Hope you'll have some time this week. |
@mattstauffer any chance for this one to get reviewed? |
@rcknr I'm sorry for the delay. It's on my todo list this week. |
@mattstauffer Any chance this gets merged? |
Thank you so much for your patience!! Testing:
Results: The CLI logs show: I'll be testing around to figure out the origin, but just wanted you to see that I am indeed looking at it! |
I secured the site and it worked, so I suspect the tunnels either A) require the site to be secured or B) require our code to be a bit smarter depending on whether the site is secured. Will dig into it a bit. |
Looks like the new logic around |
@mattstauffer Thanks for finally finding time to get this merged! |
Great PR @rcknr After testing it and figuring out how the cloudflare tunnels work, the easiest way to run a private tunnel is to add --name TunnelName after the cloudflared command (valet share). But cause of the valet bash script stripping any -- arguments from So just as a reference for others, since the readme for cloudflare is quite big. valet share runs the following: which runs in the trycloudflare.com url mode, to use your own tunnel (after tunnel login + tunnel create + tunnel route) simply append the name
|
This adds a new way of sharing websites using
cloudflared
, specifically something called "quick tunnels". These don't require registration and are free of charge to use. It's also possible to use your own domain for sharing by authenticating and configuring a custom tunnel. However, the basic usage requires zero setup.