ngrok
🛠Tool
dev-ops
Create Tunnel
Expose localhost:8080 to ngrok subdomain:
ngrok http 8080Observe incoming and outgoing requests at http://127.0.0.1:4040
See these ngrok npm instructions.
Config
You find ngrok config file at /Users/example/.ngrok2/ngrok.yml.
Connect with ngrok on raspberry pi
-
Logged into the raspberry, go to the ngrok website to download the
Linux ARMversion withwget, e.g.sudo wget https://dl.ngrok.com/ngrok_2.0.19_linux_arm.zip -
Unzip it
unzip ngrok_2.0.19_linux_arm.zip -
Expose internal port 80
./ngrok http 80 -
Add tcp connection for ssh
./ngrok authtoken <my_auth_token> ./ngrok tcp 22
Discuss on Twitter ● Improve this article: Edit on GitHub