Ngrok

sign in https://ngrok.com/ untuk mendapat token

Install

proses menggunakan ./ngrok

sudo apt update
sudo apt -y install snapd
sudo snap install ngrok

atau

proses menggunakan /path/to/ngrok

wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip /path/to/ngrok.zip

Running

/snap/bin/ngrok authtoken <your_auth_token>
/snap/bin/ngrok help
/snap/bin/ngrok http 80

/snap/bin/ngrok http 80                    # secure public URL for port 80 web server
/snap/bin/ngrok http -subdomain=baz 8080   # port 8080 available at baz.ngrok.io
/snap/bin/ngrok http foo.dev:80            # tunnel to host:port instead of localhost
/snap/bin/ngrok http https://localhost     # expose a local https server
/snap/bin/ngrok tcp 22                     # tunnel arbitrary TCP traffic to port 22
/snap/bin/ngrok tls -hostname=foo.com 443  # TLS traffic for foo.com to port 443
/snap/bin/ngrok start foo bar baz          # start tunnels from the configuration file