How to install ngrok in termux Without any error {Updated}

Install Ngrok In Termux

Hey Guys, I am Babul in today's article I am going to tell you how to install Ngrok in Termux . So Follow my Instructions Step By Step.

If Playstore termux is not working then click here






What is Ngrok?

Ngrok is a reverse proxy that creates a secure "tunnel" from a public endpoint for a web service running locally.

In other words, you can use Ngrok to expose a port on your system, for example, the port on which your application or website is running, to a public URL.

Basically, Ngrok creates a tunnel, where its function is to redirect external connections to your localhost.


What is the use of Ngrok?

  • Share website to a colleague that is running on a private network;
  • Create a TCP server on your device;
  • Port forwarding;
  • Testing mobile apps connected to your locally running backend;
  • Stable addresses for your connected devices that are deployed in the field;
  • Running personal cloud services from your home;
  • You can also use Ngrok in ethical hacking.


Requirements:

1: Mobile Data/Wi-Fi

2: Android Mobile

3: Root Permission(Not For Every Phone)


First Go to play store and Search for Termux App And install it in your Android Mobile. 

After That, open it and type these Commands Step by Step!.



How to install Ngrok in Termux?

Here are the steps to install Ngrok in Termux. Please follow the steps one by one carefully to avoid any type of error. Please note that you must wait for each command to get completed.

1. First of all, open your Termux and then type the below command to update and upgrade your Termux repositories.
Command 👇

pkg update && pkg upgrade -y

2. Now type the below command. The below command will install zip and wget packages in your Termux. Here zip will be used to unzip the zipped folder of Ngrok while wget will be used to download the Ngrok.
Command 👇

pkg install zip wget -y

3. Now type the below command as it is to download Ngrok in your Termux.
Command 👇

wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip

Wait for downloading to be finished. It may take up to 2 to 5 minutes to download Ngrok depending upon your Internet speed.

4. Type the below command in your Termux to unzip the Ngrok folder.
Command 👇

unzip ngrok-stable-linux-arm.zip

5. After Unzipping, use the below command to give Ngrok permission to read, write, and execute.
Command 👇

chmod +x ngrok

6. Now open the Ngrok website by clicking the link below:
 


Now click on the Signup button, and then create a new account on Ngrok.

Now you need to confirm the Ngrok account. Open your email to confirm your Ngrok account. There you will see Ngrok email. Simply open that mail and click on the confirm account button.


7. Now login to Ngrok with your Email Id and Password and search for auth token on the Ngrok page. Then simply type the below command in your Termux And replace <YOUR_AUTH_TOKEN> with your auth token.
Command 👇

./ngrok authtoken YOUR_AUTH_TOKEN_HERE

Note: Replace <YOUR_AUTH_TOKEN> with your auth token.

Running the above command will add your auth token to your ngrok.yml file. Connecting an account will list your open tunnels in the dashboard, give you longer tunnel timeouts.

8. Hence Ngrok has been successfully installed in your Termux. Use the below command to see how to use Ngrok in Termux.
Command 👇

./ngrok help

Note: To solve Ngrok reconnecting issue open your mobile hotspot and start Ngrok again.

THANK YOU 💚

Post a Comment

0 Comments