Your path to becoming an Ethical Hacker! Hacking Academy Try It Now!

How To Use Ngrok In Termux

Today, I'm going to explain how to install Ngrok in Termux for port forwarding. Ngrok helps you make a web server on your device accessible from the internet. You just need to tell Ngrok the port number your web server is using.

How To Install Ngrok In Termux:


1. Go to this website => https://ngrok.com


2. After that sign up for your account with your gmail or GitHub


3. After that download your ngrok file by clicking on "Download for linux (ARM)" appears on your dashboard


4. Now open your termux and move your ngrok zip file from sdcard to your termux home folder by using this command :

cd /sdcard/Download


(This command helps you to go to the download directory of your android)

mv ngrok $HOME

(This command helps you to move your ngrok file to the termux home folder)

5. After that unzip your ngrok zip file and give permissions for execution it by using these command :

unzip /path/to/ngrok.zip 
chmod +x ngrok

6. Then you have to connect your account with ngrok database using your authtoken by using this command :

./ngrok authtoken yourauthtoken


7. Now you're ready to use your ngrok for port forwarding you can use this command for help :

./ngrok help

8. You can get help by reading the documentation of ngrok using this url : https://ngrok.com/docs


9. You can port forward your http request on port 8080 or any port you want by using this command :

./ngrok http 8080


10. And your tcp networks by using this command :

./ngrok tcp 4444
(or any other port you want)

Always remember to open your hotspot before using ngrok otherwise it will not activate your connection !!

That's all, hope you guys understand how to install ngrok in termux,

This Post is for educational purposes only, and we are not  responsible for any misuse.

إرسال تعليق

Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.