ngrok install and use in termux

 


What is Ngrok?

  • Ngrok is a multi-platform tunneling and reverse proxy software that establishes secure tunnels from a public endpoint such as the internet to a locally running network service while capturing all traffic for detailed inspection and replay.
  • I make this Tutorial because in my next Tutorial ngrok is essential. So, I make this tutorial to understand my next Tutorial easily. I hope by reading this you will clearly understand that why there is a need for separate Tutorial for ngrok.

Requirements

Termux
Download Link

Today I'm here going to share the step by step tutorial about "ngrok install and use in termux". By this article, you can get a lot of about ngrok issue solved, ngrok not starting in termux, how to use ngrok in termux. And I'm damn sure that you will never get all these unique information like us on the internet anywhere else.


#1 Ngrok signup and download

1. Open Chrome browser and search for https://www.ngrok.com 

2. After that click on Ngrok website, link and, after the website opens, click on sign up in the Ngrok website and sign up.

3. Now you can see A dashboard page has been opened now on that page you can see (1) Download For Linux (ARM) click on that button and Download then grok zip file.

4. After ngrok zip Downloadingcompletes. Now in the same dashboard page, you can see (3) Connect Your Account in that you can see Authtoken now copy the whole Authtoken...And now follow the below commands.

#2 Open Termux and apply below commands

$ apt-get update -y

$ apt-get upgrade -y

$ termux-setup-storage

$ ls 

Now allow the storage permission...After that now open your file explorer or file manager and search for the Ngrok zip file which you just downloaded from the Ngrok website after getting that just click on the Ngrok zip file and click on the extract and now after the extraction you will get (ngrok) file. Now click on that and click on Cut and come to the direct internal storage of your mobile and paste that ngrok in your mobiles Direct internal storage after pasting that open your Termux app and apply the below commands.

$ ls

$ cd /sdcard

$ ls

$ cp ngrok 

$ HOME

$ ls

$ cd 

$ HOME

$ ls

$ chmod +x ngrok 

$ ls

Now the ngrok file turn's into green after that Nowhere paste Authtoken which you copied from Dashboard of Ngrok 

ex:- $ ./ngrokauthtoken 2qKpRUaFLhavo8w3YUd6v_4pYUuu3WuJnUehveishvvvvlike

this one as shown above example. After pasting yours in Termux now click on the enter button now you are ready to use grok but wait....we are not done yet...After doing all things now open a new session in Termux and apply this command to start Ngrok in Termux.

$ ./ngrok http 8080

Now ngrok ... window opening but Ngrok is not starting ... Now no need to take tension just Enable Your Mobile hotspot and now you can see that ngrok is started and it's showing ONLINE wow.

Note:-  You should enable Hostspotwhenever you are using ngrok.

Comments