Remote access to Raspberry Pi using ngrok
Remote access to Raspberry Pi using ngrok
Basic Installation steps
sudo wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
unzip ngrok-stable-linux-arm.zip
./ngrok help
# Register for your free account at ngrok website
# Obtain your authorisation token
# Run the software using the token:-
./ngrok authtoken ................
Run the software
./ngrok http 8080 | I use this to access my Openhab application
./ngrok http 80 | use this to access a webserver on your Pi
Ngrok responds with http://[unique access code].ngrok.io -> localhost:80
screen -S ngrok | using linux command "Screen" allows the connection to remain open
./ngrok tcp 22 | Use this to access a terminal screen on your Pi from a remote location.
At your remote location use your private URL in the form: http://[unique access code].ngrok.io provided in the ngrok response.
Leave a Comment