Requirements:
- Termux from play store.
- Mobile data / wifi connection.
2. Then sign up for a Gmail or GitHub account.
3. Then click [Download for linux (ARM)] to download the ngrok file and it will appear on your dashboard.
4. Now open termux and use the following command to move the ngrok zip file from the sdcard to your termux home folder.
- This command helps to go to the Android download directory : ' cd /sdcard/Download'
- This command will help move the ngrok files to your termux home folder : ' mv ngrok $HOME'
5. After that, unzip the ngrok zip file and give it permission to do it using the following command :
- unzip /path/to/ngrok.zip
- chmod +x ngrok
6. Then you need to use the command to connect your account to the ngrok database using the authtoken.
- ./ngrok authtoken yourauthtoken
7. You are now ready to use ngrok for port forwarding. You can get help using this command:
- ./ngrok help
8. You can get help by reading the ngrok documentation using the following URL: https://ngrok.com/docs
9. You can use the following command to forward http requests on port 8080 or the desired port.
- ./ngrok http 8080
10. Tcp network using the following command :
- ./ngrok tcp 4444
(Or any other required port)
#Don't forget to open the hotspot before using ngrok. Otherwise, the connection is not enabled!
3NJOY😄
Comments
Post a Comment