If you have a web service on your laptop that you want to expose to the internet but you are located behind a firewall, you can use the following two commands to overcome the limitations.
This is not exactly equivalent but similar to ngrok.
You need a machine on Internet that has publicly accessible IP address. You can use a Google Cloud free tier virtual machine.