IP forwarding

Now, in this part, we'll learn how to configure the router so that it forwards incoming connections to the Kali machine. This will mean we can receive reverse connections, we can hook people to the BeEF browser, and launch attacks outside the network the same way that we used to launch them inside the network. To get to the router settings, usually the routers IP is the first IP in the subnet, our IP was 192.168.0.11, usually, the router is the first one, so it will be 192.168.0.1. Also, another way to get it is to type in route -n command, and that will show us where the gateway is. As we can see in the following screenshot, the gateway is at 192.168.0.1. The following is the local IP address of the router:

We're going to ...

Get Learn Ethical Hacking from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.