NGROK
Using ngrok to access internal services
Purpose
Ngrok allows us to share internal services to Internet facing systems. It's an incredibly useful way to access internal systems or create a way to directly access sensitive network systems.
Setup
Visit ngrok.com to get set up with an account.
Download the tool at https://ngrok.com/download
Configure the ngrok preferences with the applicable key
Usage
As always, we ask for help to learn what to do.
ngrok help
To start a listener, we can simply run the code below:
ngrok http 9999
This will result in a window similar to below:
In the example above, we can directly access the service on localhost:9999 by accessing the page at https://7807-52-22-69-233.ngrok.io
. This was a python3 simple http server on that port.
Last updated