VPNs Explained | Site-to-Site + Remote Access

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey what's up guys welcome to serpros in this video we're going to be looking at [Music] vpns so vpn stands for virtual private network its job is to ensure the safe delivery of data across public networks by doing this it allows the user to send data as if they were directly connected to that private network let me show you what i mean let's say this is your head office now your head office is where all of your business critical servers and applications are located as well as your head office you also have a smaller branch office the smaller branch office also needs access to your business critical servers and applications there are different connectivity options available to you for example you might use a private mpls network this would be a great option however it comes at a price internet access however is very affordable but there is a problem with that the public internet is full of bad guys and these bad guys are just waiting to get their hands on your company's sweet sweet data one solution is to use a virtual private network or vpn a vpn is often described as a tunnel your data is encrypted before it passes through the public internet this way if one of the bad guys does get their hands on your data they won't be able to make any sense of it once your data is received it can then be decrypted using a special key so it can be read as normal there are two main types of vpn the one you see here is known as a site-to-site vpn this vpn connects one entire site to another entire site and is always active meaning it's always on a site-to-site vpn needs to be configured on both networks so it's ideal for situations like this when you have multiple remote sites but that's not always the case you may have individual users that work from home coffee shops or anywhere else in the world these users still require access to the corporate network but a side-to-side vpn won't work because you have no control over the networks they're connecting from instead they can use the second type of vpn this is called a remote access vpn a remote access vpn grants access to the corporate network but only for one device for example a user's laptop in a coffee shop this is unlike the site-to-site vpn which connects to entire networks okay so now we know what a vpn is and the two different types let's look at each in a bit more detail first let's start with site-to-site vpns here we have site a and site b both sites are connected to the public internet site-to-site vpns are typically configured on either a router or a firewall on both sites a popular site-to-site vpn is ipsec ipsec is a framework or set of rules for creating vpns over a network it does not define any one way to create a vpn but rather allows several protocols to be used for each vpn feature ipsec is often used for site-to-site vpns but it can also be used for remote access vpns as well once the vpn is established all devices on each site can send data securely over the vpn so how does this work well let's say a host from site a sends some data over to site b the router will look at this data see that it's destined for site b and realize it needs to send this over the vpn before it can send it over the vpn though it first needs to encrypt the data it does this by taking the original data and then the encryption key to produce the encrypted data let's take a closer look at this when the ip packet is received it is put through an encryption formula along with the session key which was exchanged previously once encrypted the router then encapsulates this data with the vpn header and trailer then it adds a new ip header this new ip header will have the public ip address of the remote site now there is a bit more to it when it comes to vpn headers and trailers but this is the general idea when the router sends the encrypted data the data will make its way over the public internet safely to the remote site then the encryption process is reversed again let's take a closer look the router receives the encrypted packet using that session key that has already been exchanged the router can decrypt the data back to the original form from there the router can forward this packet onto the destination okay so that is a site to cite vpn this is great when you want to connect one or more offices together sometimes though you need users to be able to connect to the corporate network from anywhere in the world this could be a coffee shop on the train or working from home during a pandemic for this situation a different type of vpn exists remote access vpns a remote access vpn allows a single device to connect to a corporate network this could be a laptop desktop or even a smartphone or tablet just like a site-to-site vpn a remote access vpn allows a host computer to safely send and receive encrypted data over the public internet this is great news if you're connecting to a public wi-fi where you have no idea about who could be snooping now unlike sites like vpns which are always running remote access vpns require an application on the host to connect back to the corporate network the corporate network will be listening for these connection requests an example of a vpn client application is cisco anyconnect or openvpn here is openvpn running on my computer while ipsec is used for site-to-site vpns tls is usually used for remote access vpns tls is the same security protocol used to encrypt your web traffic when connecting to https sites it's also handy because some public wi-fi might block ipsec ports whereas tls usually uses well-known port 443 which is generally allowed when configuring remote access vpns you need to decide if you want to use something called a full tunnel or a split tunnel what does that mean well a full tunnel means that once connected to the vpn all traffic from the host will be forwarded to the corporate network even if you're just browsing facebook this will all be tunneled through the corporate network this is great if you want to enforce your corporate firewall policies now a split tunnel means that only traffic destined for the corporate network is sent over the vpn all other traffic is rooted as normal this is great to save bandwidth and also provide a bit more privacy to your users which one you choose is really up to you and your security needs now just before i end this video i do want to briefly mention vpn services in recent years several companies have emerged offering vpn services that promises to keep all of your internet usage private secure and away from hackers you've probably seen their adverts these are like remote access vpns you connect to that company's network before they forward it over to the internet by using these services the idea is that only the vpn provider will see your traffic so not even your isp can see what you're doing now while there are some understandable reasons to use these services please don't get sucked into some of the scare tactics that most of them use the reality and what they would have you believe is often quite different anyway that's enough for vpns you should by now have a good understanding about what they are and how they work this video is part of the full ccna course which can be found in the description so please feel free to go and check that out if you like this video then don't forget to give it a thumbs up leave a comment and subscribe the support from you guys really does help this channel grow other than that thank you for watching
Info
Channel: CertBros
Views: 117,678
Rating: 4.9531775 out of 5
Keywords:
Id: CWy3x3Wux6o
Channel Id: undefined
Length: 9min 8sec (548 seconds)
Published: Tue Mar 16 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.