Skip to content

Commit

Permalink
Update ngrok.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
akuhnet authored Mar 6, 2022
1 parent 6051cd5 commit 2a19bf0
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions ngrok.sh
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 "======================="

0 comments on commit 2a19bf0

Please sign in to comment.