So now let's go to a quick, practical example.
So here is a quick Visio diagram that I put together for you guys.
So you understand like you know, like what your whole network might look like.
So let's say you live in an apartment by yourself.
You have a smartphone, you have a desktop, you have a laptop.
And that's about it.
Maybe you have a smart TV and you want to put that on your.
SO as you can see in a legend in the top left, public connections or solid lines and private connections
are the dashed line.
So remember I told you that when you are at home, you know, you're on a private network.
That's the network that you're all the computers in your network typically can talk to each other.
They all have private IP addresses.
And then what you're going to see here is that's like your laptop, your desktop computer and your smartphone
all reach out to your router, OK?
And through your router, you're able to access the Internet.
Now, all the devices on your network are typically going to share the same public IP address, when
is access to the Internet?
This is kind of like a security through obscurity kind of thing that it kind of like unintentional security.
So not each one of your devices has a public IP address that are not technically, you know, all individually
reaching out.
We're all using specific ports to reach on the Internet.
So.
All our traffic goes through the router out to the Internet, and then you might go into Gmail, you
might go to com, you might go to social media.
That's pretty much how it works.
This is the flow, you know, of a typical home network.
OK, so now I'm going to show you another practical example.
It is going to be a little more complicated.
I'm going to walk you through it.
But it's a little bit more of a practical example of what you might see for a remote company, for example,
like nowadays, a lot of companies are forced to work remote or the companies that already are, you
know, thriving.
So the next one, the next practical example that I'm going to show you is going to be kind of like
a more like a more secure version of, you know, network when you work remotely is kind of like how
my personal corporate network is set up.
Over here on the left, we have, like, you know, users all over the place.
Right.
Abuses at their homes.
They're on their laptops and their laptops reach out to their router and then out to the Internet.
So each one of these days is very different places.
We have different public IP addresses.
You still see the connection between the user laptop and the router is private to have a private IP
address there, want to reach out to the Internet.
It's public.
You see this online.
So.
You see at the bottom, that kind of represents my set up.
I have a hypervisor server called Prox Monks and have a bunch of virtual machines set up on it that
I use for work and study purposes.
So all of those have a private connection.
They're all on my private network at home and they reach out to the router.
They all those virtual machines can talk to my laptop as well.
They reach out to the router and we all share the same public IP address on the Internet.
OK, from my network.
So the way that we do it, we have a VPN connection.
So we go out through the Internet with our public IP address and then we go into our Adewusi network,
which is represented right there by the eight of US router.
And then it goes over to our VPN server and this is where we get our private IP addresses, so right
here you see all of our user hosts.
We all are now on a private network, you know, in the US, and we all can talk to each other.
So versus here where we're not on the same network and we can't really talk to each other when we all
connect to the VPN and we go through the Internet, we go through the eight of US router and then we
go to our VPN.
So we all are now on the same network which has this address right here, for example.
And then there's other servers on there that you might see in some other places.
It might be different kinds of service.
But more specifically, for me, this is like a more security based servers, services, and then these
reach out to, you know, other tools using our VPN connection.
Once one is VPN, we can then connect back on the Internet and get on to, you know, apps like Gmail
and such or just browse the Internet.
So that's just like a little bit more of a practical kind of advanced, semi advanced example of, you
know, a remote base network.
So something just to help you flex your networking muscle a little bit, make you think a little bit
on how networking works.
OK, so now the wrap of networking, you know, you should now have a basic understanding networking.
And with this basic understanding, you should now be able to, you know, understand how you're hacking
them.
We want to set up is going to work and how your own personal network works.
OK, so like I said, we're going to be setting up our hacking lab next.
So you're going to download and create your hacking virtual machine and you're also going to set up
some vulnerable targets for us to exploit.
All from your laptop.
We just for practice.
I so thanks for watching this far and I'll see you guys in the next section.