Ngrok: ubuntu: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) Created page with " unzip /path/to/ngrok.zip ./ngrok authtoken <your_auth_token> ./ngrok help ./ngrok http 80" |
|||
| (7 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
==Instalasi== | |||
sudo apt update | |||
sudo apt -y install snapd | |||
sudo snap install ngrok | |||
atau | |||
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |||
unzip /path/to/ngrok.zip | unzip /path/to/ngrok.zip | ||
./ngrok authtoken <your_auth_token> | |||
. | atau | ||
Download https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz | |||
tar zxvf ngrok-v3-stable-linux-amd64.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== | |||
* https://snapcraft.io/install/ngrok/ubuntu | |||
* https://ngrok.com/download | |||
==Pranala Menarik== | |||
* [[ngrok]] | |||
Latest revision as of 13:20, 29 November 2022
Instalasi
sudo apt update sudo apt -y install snapd sudo snap install ngrok
atau
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip unzip /path/to/ngrok.zip
atau
Download https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz tar zxvf ngrok-v3-stable-linux-amd64.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