Hey guys, due to popular demand we are going to make this guide to port forwarding. This guide can help you port forward your IP so that you can perform hacks over the internet. We will do Port forwarding with the help of a software called ngrok.
If you do not know what port forwarding is you can read more about Port Forwarding here. In this method, we will use ngrok and it will forward the port to our local host on the internet so that it can be accessed from the outside.
By using this tutorial, you can easily gain access to any device over the Internet with a reverse shell.
- ngrok tool (Download here)
Setup ngrok on Kali Linux
Create a free account on Ngrok.com, you can create an account on ngrok with the following are the options available
- using your Email
- using Github
Now complete the Signup process by entering the valid details and verify the message in the mail.
Click on the Linux option to download the executable file for your Kali Linux.
Extract the ngrok zip file to Desktop of Your Kali Linux and then run the following command:
./ngrok auth token <Your auth token>
- You can get your auth token here by signing in with your ngrok user id and password
Once your auth token is verified then you can start Port Forwarding by using the following command
./ngrok tcp 1234
A successful connection establishment will look like this.
Now once everything is done you can now use your localhost as the address for hacking.
Now will using hacks you need to use the above LHOST and LPORT. Check the below examples for reference
Here LHOST and LPORT will change with ngrok.
I hope you liked the article. If you have any issues mention them in the comment section. Keep sharing and supporting the website