Hey everyone today we are going to see How to install NGROK in Kali Linux also how can we setup NGROK in Kali Linux. So, let’s see everything about NGROK from installing, running, and also installing NGROK from Linux so let’s start.
I am Noman Mohammad welcoming you all to our amazing community specially made for Linux users to make your journey of reading complicated articles and watching long videos easier by providing simple and easy-to-follow step-by-step tutorials.
- 1 how to install NGROK in Kali Linux terminal
- 2 how to unzip NGROK in Kali Linux
- 3 how to set up NGROK in Kali Linux
- 4 how to start NGROK in Kali Linux
- 5 How to run NGROK in Kali Linux
- 6 How to use NGROK in Kali Linux
- 7 How to update NGROK in Kali Linux
- 8 How to uninstall NGROK in Kali Linux
- 9 ๐ฅ Final Thoughts
how to install NGROK in Kali Linux terminal
1๏ธโฃ Go to Ngrok Official Website
2๏ธโฃ Select the Linux version and download it.
3๏ธโฃ Once downloaded, Go to your Downloads folder:
cd Downloads
Also Read: How To Install Zorin OS Without USB
how to unzip NGROK in Kali Linux
1๏ธโฃ After downloading the zip file let’s extract it properly by running the below command:
unzip ngrok-stable*zip
2๏ธโฃ Now we can see the extracted files in the Download folder or in the current directory.
Pro Tip: If you encounter a permission issue, ensure you have unzip installed or use a file manager to extract it manually.
how to set up NGROK in Kali Linux
Before running NGROK we need to authenticate it:
1๏ธโฃ Sign up for a free Ngrok account at Ngrok Signup.
2๏ธโฃ Log in and find your authentication token under the โYour Authenticationโ section.
3๏ธโฃ Copy the token and run this command:
./ngrok authtoken your_auth_token
โ Now, Ngrok is authenticated and ready to use.
how to start NGROK in Kali Linux
Now let start the NGROK server by following this step-by-step guide:
1๏ธโฃ Open the terminal and Go to the directory containing the Ngrok file.
2๏ธโฃ Run Ngrok by specifying the port you want to forward. For example, if your local server is running on port 80:
./ngrok http 80
Ngrok will generate a unique forwarding URL. You can share this URL to access local web server online! ๐
How to run NGROK in Kali Linux
Ngrok works with any port. If your local server uses a different port (e.g., 8080), simply replace the port number in the command:
./ngrok http 8080
You can now access your local server from anywhere using the provided Ngrok URL.
How to use NGROK in Kali Linux
Hereโs how you can make the most of Ngrok:
1๏ธโฃ Start a local server on your machine using Python:
sudo python3 -m http.server 80
2๏ธโฃ Run Ngrok to expose your local server:
./ngrok http 80
3๏ธโฃ Use the forwarding URL provided by Ngrok to share your local server with others.
๐ฏ Use Cases:
- Share your latest project demo.
- Test webhooks or APIs.
- Host temporary websites without purchasing a domain.
How to update NGROK in Kali Linux
Keep your Ngrok up to date for the latest features and security fixes:
1๏ธโฃ Download the latest version from the Ngrok website.
2๏ธโฃ Replace the old file with the new one in the same directory:
mv ~/Downloads/ngrok ~/path/to/your/ngrok
3๏ธโฃ Re-authenticate if needed:
./ngrok authtoken your_auth_token
How to uninstall NGROK in Kali Linux
If you no longer need Ngrok, follow these steps:
1๏ธโฃ Navigate to the directory containing Ngrok.
2๏ธโฃ Remove the Ngrok file using:
rm ./ngrok
3๏ธโฃ Clear your authentication details (optional) by deleting the config file:
Ngrok is now completely uninstalled.
๐ฅ Final Thoughts
NGROK is very useful tool to take our local codes or websites to online. If you want to access a local server publically or debugging webhooks, Ngrok makes it hassle-free. If you found this guide helpful, share it with others! And donโt forget to join our community for more Linux tips. Drop your questions in the comments below I will try My best to answer You.