ngrok - secure introspectable tunnels to localhost ([homepage](https://ngrok.com))
"I want to expose a local server behind a NAT or firewall to the Internet."
What is ngrok?
ngrok is a reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service.
ngrok captures and analyzes all traffic over the tunnel for later inspection and replay.
What can I do with ngrok?
Expose any http service behind a NAT or firewall to the internet on a subdomain of ngrok.com.
Expose any tcp service behind a NAT or firewall to the internet on a random port of ngrok.com.
Inspect all http requests/responses that are transmitted over the tunnel.
Replay any request that was transmitted over the tunnel.
What is ngrok useful for?
Temporarily sharing a website that is only running on your development machine.
Demoing an app at a hackathon without deploying.
Developing any services which consume webhooks (HTTP callbacks) by allowing you to replay those requests.
Debugging and understanding any web service by inspecting the HTTP traffic.
Running networked services on machines that are firewalled off from the Internet.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Snap can be installed from the command line on openSUSE Leap 42.3, Leap 15 and Tumbleweed.
You need first add the snappy repository from the terminal. Leap 15 users, for example, can do this with the following command:
Swap out openSUSE_Leap_15.0 for either openSUSE_Leap_42.3 or openSUSE_Tumbleweed if you’re using a different version of openSUSE.
With the repository added, import its GPG key:
Finally, upgrade the package cache to include the new snappy repository:
Snap can now be installed with the following:
You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands:
Tumbleweed users also need to run the following:
To install ngrok, simply use the following command: