Now I do want to show you what this looks like on the actual Kali system itself because I want to make sure that we're all on the same sheet of music and following along and being able to play along at home.
So I have the Kali box pulled up here, and I want to show you first inside the terminal window that our IP address is 192.168.0.53 so that way we've established this is our Kali box.
Now inside of the Wireshark that I had running during that tunneling session and apparently still running, my bad.
I'm going to make sure that we are looking for the IP destination of 0.13 which is that BWAP test site that we pulled up in Firefox.
And when I pull it up you can see here that there is communication to that under the destination tab.
Let me zoom in for you real quick. Right there under destination.
And you can notice that as I go through here I have a weird one that pops up in Wireshark.
And that is I have a destination of 0.13 but a source of 0.51.
Wait a minute. I thought I just showed that the IP address on this system was 0.53 and it is.
The reason that this actually came up inside of Wireshark is because we were using this system to tunnel through the Ubuntu box of 0.51.
So theoretically we should be able to play match the packet here from the Kali system to the Ubuntu to the actual 0.13 BWAP site.
Now from the Kali system you can see that I'm filtering by the actual sequence number of that TCP packet going from 0.51 to 0.13.
And that packet does exist inside of our actual Ubuntu system coming from 0.51 to 0.13.
Now again this shows that we are tunneling all of our traffic from Kali through Ubuntu to the actual target system.
And we can do this in a one-for-one tunneling using our SSH command.
But now that is one-for-one and let's say that we want to have more options or more targets on the inside of the network to come back to us through this one Ubuntu system.
Well that's where we would need dynamic tunneling and that's the part we're going to get to next in this skill.