forked from akuhnet/w-colab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
echo "=======================" | ||
echo "Download ngrok" | ||
echo "=======================" | ||
wget -O ngrok.zip https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip > /dev/null 2>&1 | ||
unzip ngrok.zip > /dev/null 2>&1 | ||
read -p "Paste Ngrok Authtoken: " CRP | ||
./ngrok authtoken $CRP | ||
nohup ./ngrok tcp --region ap 3389 &>/dev/null & | ||
rm -rf ngrok ngrok.zip ngrok.sh > /dev/null 2>&1 | ||
wget -O ng.sh https://bit.ly/GCngrok > /dev/null 2>&1 | ||
chmod +x ng.sh | ||
./ng.sh | ||
clear | ||
echo "=======================" | ||
echo choose ngrok region | ||
echo "=======================" | ||
echo "us - United States (Ohio)" | ||
echo "eu - Europe (Frankfurt)" | ||
echo "ap - Asia/Pacific (Singapore)" | ||
echo "au - Australia (Sydney)" | ||
echo "sa - South America (Sao Paulo)" | ||
echo "jp - Japan (Tokyo)" | ||
echo "in - India (Mumbai)" | ||
read -p "choose ngrok region: " CRP | ||
./ngrok tcp --region $CRP 3389 &>/dev/null & | ||
echo "=======================" |