HomeLinuxHow to install ngrok in termux with an original way

How to install ngrok in termux with an original way

Hello guys in this tutorial i’m going to show you how to install ngrok in termux and kali-linux

What is ngrok?

ngrok is a cross-platform application that enables developers to expose a local development server to the Internet with minimal effort. The software makes your locally-hosted web server appear to be hosted on a subdomain of ngrok.com, meaning that no public IP or domain name on the local machine is needed.

In other word’s, Ngrok is a reverse proxy that creates a secure “tunnel” from a public endpoint for a web service running locally.

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

How Ngrok works?

Let’s assume you have a web server running on your machine. Now you intend to share, with a colleague, the address of a website that you developed, but as it is on the private network. To do this, just use Ngrok. Considering that the webserver is at port 8080, you only need to execute the following command.

ngrok http 8080

What you can do with 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;
  • And also you can use Ngrok in Ethical hacking.

How to install Ngrok in termux & Linux?

Step 1:
First of all open your termux application and then type the below command to update and upgrade your Termux repositories.

pkg update && pkg upgrade -y

Step 2:

Now type the below command. The below command will install zip and wget packages in your Termux. Whereas zip will be used to unzip the Ngrok zip folder and wget will be used for downloading Ngrok.

pkg install zip wget -y

Step 3:

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

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 3 minutes to download Ngrok depending upon your Internet speed

Step 4:

Now we need to unzip the Ngrok folder by typing the below command.

unzip ngrok-stable-linux-arm.zip

Step 5:

After Unzipping give Ngrok permission to read, write and execute by typing the following command

chmod +x ngrok

Step 6:

Now open the Ngrok website by clicking the link below


After opening the Ngrok website click on the Signup button, and then create a new account on Ngrok.

Now you need to confirm your Ngrok account. In order to confirm the Ngrok account simply open your Email. There you will see Ngrok email simply open that mail and click on confirm account button.

Step 7:

Now login to Ngrok with your Email Id and Password. After logging in to Ngrok you will see an auth token there. Then simply type below command in your Termux And replace <YOUR_AUTH_TOKEN> with your auth token.

./ngrok authtoken <YOUR_AUTH_TOKEN>

Running 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.

Step 8:
Now you run the below command to run Ngrok

./ngrok http 8080


1 Comment

Leave A Reply

Please enter your comment!
Please enter your name here

Most Popular