Selfhosted alternatives to ngrok, localtunnels, etc?
Due to having to expose local developments (in progress) publicly to interact with other third party services or to show them to other programmers I usually use ngrok in the free tier... Which is an absolute mess because it changes the URL on each command (nevertheless it works out of the box and very fast)...
I have also tried Localtunnel which it's great but hangs a lot. Anybody knows any self-hosted solution that giving a domain of my own can I expose via tunnels in subdomains?
I know this is not a helpful comment at all, but I wrote a tunnelling service similar to ngrok for my ex-company that was used by thousands of tech support experts every day on hundreds of thousands of devices. I was very very very close to getting it open sourced, but sadly the CTO denied my request. It was quite the tragedy.
That said, you can open reverse tunnels using ssh -R quite easily if you have some sort of server sitting on the internet.
i have heard good things about https://github.com/pgrok/pgrok . also they have a link to huge list of various tunnels - maybe you will find something you need there.
I did something similar in my homelab using frp and traefik. Traefik picks up configuration in its normal way and handles all inbound traffic, doing SSL termination locally even. frpc (client) sits next to Traefik, dials out to my frps (server) machines, and passes incoming connections to Traefik via the proxy protocol. I point my DNS at the frps machines in the cloud and they are configured to let the clients connect to them and take over basically any port they want.
I think there are ways to get frp to do basically exactly what you want, but I use it for a slightly different case.