Skip to content

Shell script to run Ngrok in the background and get the public url easily from terminal or from log file.

Notifications You must be signed in to change notification settings

yobotn/rpi-auto-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Shell script to run Ngrok in the background and get the public url easily from terminal or from log file.

Usage

$ sudo wget https://raw.githubusercontent.com/yobotn/auto-tunnel/master/autotunnel.sh
$ sudo chmod +x autotunnel.sh
$ sudo ./autotunnel.sh

Documentation

VARIABLE COMMENT
ZIPPED_NGROK_URL - ngrok will be downloaded from this url if not found locally.
- default url is Linux(ARM), good for raspberry pi 3 b+.
- copy your desired ngrok url from this link https://ngrok.com/download
NGROK_CMD ngrok arguments
DEBUG where to show/save the tunnel public url > "0">Terminal "1">Log file
LOG_FILE if DEBUG is 1, public url will saved in this file

For more Ngrok documentation please visit https://ngrok.com/docs

About

Shell script to run Ngrok in the background and get the public url easily from terminal or from log file.

Topics

Resources

Stars

Watchers

Forks

Languages