News for hackers. Stuff that matters.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by ithkuil on Friday October 15, 2021 @03:19AM (#28875243)
I made a tunnel service that doesn't require account creation and is suitable for automated tools that need to spin up a web interface for non-routable networks. The hostname is derived from the public key used to authenticate your end of the tunnel:

https://github.com/mkmik/udig

Re:Cloudflare Tunnel – Generate a live updating URL to any l... by vineyardmike on Friday October 15, 2021 @02:45PM (#28881455)
> Tunnel IDs are base32 encoded hashes of the public key (technically a multihash encoded as a base32 multibase).

Wow very cool! Using a known value is a great thing, I can totally see using this.

Re:Cloudflare Tunnel – Generate a live updating URL to any l... by southerntofu on Friday October 15, 2021 @06:32AM (#28876267)
That looks cool. What's the difference of your solution with standard VPN or SSH tunneling?
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by ranguna on Friday October 15, 2021 @02:33AM (#28874957)
I tried to use this once and it was a mess, for some reason I had to go through multiple steps of creating and enabling tunnels, and in the end nothing worked.

Please try ngrok, it's soooo much easier.

Re:Cloudflare Tunnel – Generate a live updating URL to any l... by kburman on Friday October 15, 2021 @04:45AM (#28875689)
It supports custom domain which is a paid feature in ngrok. So it's worth the trouble.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by anonfunction on Thursday October 14, 2021 @11:55PM (#28874071)
Something seems broken, I installed the latest version and it fails with this error:

    cloudflared tunnel --url http://localhost:8080
    failed to parse quick Tunnel ID: invalid UUID length: 0
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by zuhayeer on Friday October 15, 2021 @12:41AM (#28874377)
Getting this too, seems like it's down. http://trycloudflare.com/ doesn't resolve to anything either.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by austinkhale on Friday October 15, 2021 @09:32AM (#28877493)
I used this once to debug live with coworkers. Now I use it 100% of the time for local builds. Super useful when doing front end work and you want hot reloading across multiple clients & you don’t want to lose things like Cloudflare Workers or Page Rule effects.

Cloudflare for Teams makes it even more powerful where you create a tunnel to a local build & then restrict traffic on the subdomain to a specific G Suite group in your org (ie QA or Developement).

Re:Cloudflare Tunnel – Generate a live updating URL to any l... by manishsharan on Friday October 15, 2021 @05:39AM (#28875940)
How is it better than configuring <randomstring>.mydomain.com to point to my home networks IP address and have my router forward those connections to my desktop ? I have a batch job than sets up a Route53 record using whatsmyip service when I am testing my app on my localhost and another batch job that deletes the dns record when my tesing is complete.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by xx_ns on Friday October 15, 2021 @05:58AM (#28876067)
I'm guessing this is useful in situations where the home network is behind NAT and not routable, which is the case for a lot of ISPs.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by vineyardmike on Friday October 15, 2021 @02:47PM (#28881482)
this can also be useful in commercial dev when you have a random EC2 instance that you want to share with a nice URL.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by Zensynthium on Friday October 15, 2021 @12:02AM (#28874128)
Reminds me of this npm package called localtunnel. https://www.npmjs.com/package/localtunnel

Might check it out soon.

Re:Cloudflare Tunnel – Generate a live updating URL to any l... by sparker72678 on Thursday October 14, 2021 @11:14PM (#28873767)
Super useful, fun, and easy for hosting your site at home on a raspberry pi!
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by smartplaya2001 on Friday October 15, 2021 @06:12AM (#28876134)
Is there a npm package for this service? I ran into a situation where yesterday where I had to use localtunnel. I tried searching on npm but didn't find a package.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by anaganisk on Saturday October 16, 2021 @02:23PM (#28890119)
Why does it matter for you in what language is it written?
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by riedel on Saturday October 16, 2021 @05:00PM (#28891459)
Used this to expose a nextcloud on my natted/dynamic IP address. Works like a charm.
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by ossusermivami on Saturday October 16, 2021 @02:42AM (#28886018)
there is https://smee.io/ if the only thing you want is webhook
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by amingilani on Friday October 15, 2021 @12:23AM (#28874263)
Does it forward UDP ports as well?
Re:Cloudflare Tunnel – Generate a live updating URL to any l... by southerntofu on Friday October 15, 2021 @06:57AM (#28876432)
So is this just for HTTP traffic?