Tunneling with Ngrok

Ngrok is a tunnelling tool that creates secure tunnels to your localhost.
This allows the host to be accessible from the internet.

Installing

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 buster main” \
| sudo tee /etc/apt/sources.list.d/ngrok.list \
&& sudo apt update \
&& sudo apt install ngrok

Running

HTTP — ngrok http 80
TCP — ngrok tcp 4444