Nice work, these types of tools are invaluable and there are well-supported paid options, but not that many OSS projects. There is another project called fast reverse proxy (frp) that has been around for a while, it's open source, however some users are concerned with the country of origin. Never the less, it's probably more mature and well-tested at this point.
I'm not a domain expert in networking. Can someone explain to me the difference between a tunnel and a reverse proxy ?
Also, for local setup, this still require to have a port mapping at router level, I assume?
Looks very interesting (every now and then I wonder about good self-hostable ngrok alternatives), but the "curl x | sudo bash" pattern for installation is really putting me off this one.
Guide to similar services in this space:
Congrats on the launch!
There are quite a few of these out there. ngrok (very popular) and Svix Play (ours) come to mind, but I've also seen a few Show HNs in the last few months. What's your biggest differentiator to existing solutions? Not saying that one is needed (hacking for the sake of hacking is great), just wondering if there's something we need to add to ours. :P
For anyone looking for a simple easy to use alternative, try https://pinggy.io
Gives you tunnels with one command, no need to even download anything.
Full disclosure: I have created https://pinggy.io :)
I recently started using Tailscale funnel for the same purpose. Works well! https://tailscale.com/blog/introducing-tailscale-funnel/
I did that with two Caddy servers (one on my host and another locally) and Tailscale (ssh tunnel at first): https://solovyov.net/blog/2022/ngrok-for-the-wicked/
What is the benefits of this vs DynDNS?
I am using my own solution. https://github.com/Eun/frwd Costs me nothing when using the free tier of aws/oracle you name it...
seems like a great tool for exposing webhooks to the internet. it would be great to limit to a specific uri. for example
tmole 80 "^/webhooks/?$"
Love these, but they get abused very quickly. Good luck to you.
Hehe, used to work for ZEIT. Always tickles me when things like Now pop up. I wish it still existed in its original form sometimes.
Some time ago I created an instruction on setting up a DIY ngrok alternative with just Caddy and SSH [1]. Works really well for me ever since.
[1] https://github.com/ziolko/tunnel
Edit: The nice thing about this is that it allows you to proxy to any any target port including e.g. standard email ports. This was very helpful while I was working locally on a custom email server.