Download ngrok
ngrok is your app’s front door—and the fastest way to put anything on the internet.
ngrok is your app’s front door—and the fastest way to put anything on the internet.
Install ngrok via Apt with the following command:
curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
| sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
&& echo "deb https://ngrok-agent.s3.amazonaws.com bookworm main" \
| sudo tee /etc/apt/sources.list.d/ngrok.list \
&& sudo apt update \
&& sudo apt install ngrokLink your device to your ngrok account by using your authtoken with the following command:
Don’t have an authtoken? Sign up for a free account.
ngrok authtoken <NGROK_AUTHTOKEN>Learn how to access your device with SSH, restrict which IPs can access the device, and more in ngrok docs.