Ngrok: Armbian

From AbahDoku Wiki
Revision as of 03:57, 5 March 2023 by Akhyar (talk | contribs) (Created page with "==Instalasi== apt update apt -y install snapd snap install ngrok atau (yang penulis gunakan untuk Linux ARM64) wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz tar -xvf ngrok-v3-stable-linux-arm64.tgz ==Running== Jika di install menggunakan snap /snap/bin/ngrok authtoken <your_auth_token> /snap/bin/ngrok help /snap/bin/ngrok http 80 Contoh2 lain ngrok http 80 # secure public URL for port 80 web server ngrok...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Instalasi

apt update
apt -y install snapd
snap install ngrok

atau (yang penulis gunakan untuk Linux ARM64)

wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz

tar -xvf ngrok-v3-stable-linux-arm64.tgz

Running

Jika di install menggunakan snap

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


Contoh2 lain

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

Referensi


Pranala Menarik