TechKnowSurge
CompTIA Network+ 3.5 Cisco CCNA 5.5 CompTIA SecurityX 2.4 Cisco CCST Cybersecurity 2.5 CompTIA A+ Core 2 4.9 Cisco CCST IT 6.1 Cisco CCNA 4.8
VideoNetworkFree

Remote access

Remote access fundamentals covering VPNs, site-to-site and client-to-site configurations, tunneling protocols, and remote connection technologies used to securely link distributed users and networks. Covers IPSec, SSL/TLS, split tunneling, RDP, VNC, SSH, and virtual desktops.

Complete this video to capture a CTF flag worth 1 point.

About this video

Remote access is a foundational requirement for modern organizations, and virtual private networks are the standard mechanism for meeting it securely. Rather than leasing dedicated lines between locations — an approach that becomes prohibitively expensive over long distances — businesses can use VPNs to encrypt and tunnel traffic across the public internet, creating a virtually private connection that is both cost-effective and scalable. The core concept behind any VPN is encapsulation: packets are encrypted and wrapped before transit, then decrypted at the destination, ensuring that data remains protected even as it crosses shared infrastructure. Two primary VPN architectures address different organizational needs. Site-to-site VPNs establish persistent encrypted tunnels between fixed network locations, typically configured through firewalls or routers, and are well suited for connecting branch offices or geographically distributed facilities. Client-to-site VPNs serve individual remote users, allowing them to connect from a home network, hotel, or any other location as though they were physically present on the corporate network. Client-to-site implementations can use either IPSec — a network-layer protocol that provides broad application support and strong authentication but requires dedicated client software — or SSL/TLS, which operates through a standard web browser, trading some functional depth for ease of deployment. The split tunneling option adds another layer of flexibility, routing only corporate-bound traffic through the VPN while allowing general internet traffic to travel directly, reducing unnecessary load on central infrastructure. Beyond VPNs, several remote connection protocols provide direct access to machines within a network. Remote Desktop Protocol (RDP) is the predominant Windows-based solution for graphical remote sessions, while Virtual Network Computing (VNC) offers a cross-platform alternative. SSH provides secure command-line access to Linux and Unix systems. Virtual desktop infrastructure (VDI) takes a different approach entirely, hosting desktop environments on centralized servers so that remote users connect to a managed virtual machine rather than their own physical endpoint, offering administrative and security advantages for organizations managing large distributed workforces.

What you'll learn

What's covered

Remote Access

Aligned to

CompTIA Network+
3.5 Compare and contrast network access and management methods.
Cisco CCNA
5.5 Describe IPsec remote access and site-to-site VPNs.
4.8 Configure network devices for remote access using SSH.
CompTIA SecurityX
2.4 Given a scenario, implement appropriate controls to secure communications and collaboration solutions.
Cisco CCST Cybersecurity
2.5 Implement secure access technologies.
CompTIA A+ Core 2
4.9 Given a scenario, use remote access technologies.
Cisco CCST IT
6.1 Use remote access software to connect to end user devices.

Key terms

Virtual Private Network
VPN
A technology that creates a secure, encrypted tunnel over a public network to protect data in transit.
IPsec
A suite of protocols that authenticates and encrypts IP packets to provide secure communication over a network.
Secure Sockets Layer
SSL
A now-deprecated cryptographic protocol designed to provide secure communication over a network, replaced by TLS.
Transport Layer Security
TLS
A cryptographic protocol that provides secure communication over a network, successor to SSL.
Secure Shell
SSH
A cryptographic network protocol that provides secure remote login and command execution over an unsecured network.
Encapsulation
The process of wrapping data with protocol headers as it passes down the layers of the OSI model.
Site-to-Site VPN
A VPN configuration that connects two fixed network locations through an encrypted tunnel over the internet, allowing them to communicate as a single network.
Client-to-Site VPN
A VPN configuration that allows individual remote users to securely connect to a private network using either an IPsec client or an SSL-based browser connection.
Split Tunnel
A VPN feature that routes only traffic destined for the private network through the VPN tunnel while sending internet-bound traffic directly to the internet.
Remote Desktop Protocol
RDP
Remote Desktop Protocol is a Microsoft protocol that enables remote graphical access to Windows systems; it is a frequent attack target commonly exploited via credential brute-forcing, session hijacking, and unpatched vulnerabilities such as BlueKeep.
Virtual Network Computing
VNC
Virtual Network Computing is a graphical remote desktop sharing system; in security contexts, unsecured VNC instances with weak or absent authentication are a common target for unauthorized remote access and lateral movement.
Virtual Desktop
A desktop environment hosted on a server that users access remotely, providing network access without requiring a physical machine at the user's location.

Transcript

Remote Work and Remote Access

In today's age, remote work is a huge part of our life. Many of us have now switched to being fully remote, and COVID only accelerated this progress of going to remote work. But somehow you do need to have remote access, a way to be able to access networks and to be able to access that network securely.

Connecting Business Sites

Businesses can exist in many different buildings, in many different cities, and even in many different countries. And so you need a way to be able to connect a business site all together — all the different sites of the business connected together so they can communicate.

So here's an example that I have right here. This is a business, and we have a couple networks down here. Let's talk about those connections first. Quite often what a business will do is they'll pay an internet service provider to provide a connection between their businesses, if it's a far enough distance where they don't have a direct connection between these two buildings, or between two cities, or whatever the case may be. And so they will pay for these connections in between, and it will act as if they are on their own network. And that's fine, and that works for a lot of cases.

But what happens is it can get spendy, and the further you go out the more expensive this setup can be. To lease a line between a couple buildings in the same city might not be that much, but to lease a line going clear across the country can be really expensive. And so we can utilize the internet, but the problem is connecting sites. So we have another site here that we want to connect, and to connect these different sites through the internet can be insecure.

What a VPN Is

Well, that's where a VPN comes in, or a virtual private network. So it is saying it's virtually private. It's not really private — you're going across public connections here — but it's virtually private, and it's virtually private because it is encrypted. And so that's what a VPN is.

And so a VPN will be able to tunnel traffic from these different networks to the main network here, so that way it's secure going across the internet. And what this does is there's some cost savings to this, because you don't have to lease lines. There's some security involved in this because the lines are encrypted. And it's scalable, because no matter how many remote sites — like we saw with COVID, then a lot of people started working from home. So this allows more and more people to do that, because they can VPN into their network and they can work remotely.

Site-to-Site VPNs

So one of the types of VPNs is a site-to-site VPN. A site-to-site VPN connects two different sites together with a VPN connection. And so what I have here is I have a site that's right here that I want to connect to another site. And perhaps this site is on the other side of the country, or perhaps it's even in another country, and I want to connect it through the internet. And so what I'm going to do is I'm going to program either the routers or firewalls — a lot of times we set up the VPN connections through a firewall — and then what we are going to do is then have that traffic get tunneled through the internet, and it creates what we call a tunnel between these two connections.

What a tunnel looks like is it's just taking the packets that need to be routed from this network to this network. It's taking those packets, it's encrypting those packets, and then it's encapsulating those packets, and then sending it along its way. And so it encrypts those packets, sends it along its way, and then this router right here will then decrypt it and send it into the network. And vice versa: when there's a reply, it will hit this router, this router will recognize that it needs to go to this site down here, will encrypt that traffic and then tunnel it to this router right here. And then that router will then unencrypt that traffic and send it to where it needs to go.

And now you have communication across internet, which it can be fairly cheap to tunnel traffic across the internet. But you're still doing it in a secure manner, because the communication that happens between these two networks is all encrypted.

Client-to-Site VPNs

Another type of connection is a client-to-site VPN. And as the name suggests, it's going to be a client machine that's going to connect into this network right here. So where a site to site would be more of like two static sites that you want to connect and tunnel the traffic, this is the same thing, but it's for your users who are remote. And so they may be at their home network, they may be at a coffee shop, they may be somewhere on the road. And so what they need to do is they need a remote into the company network. And so what they'll do is they'll do a VPN connection into the network, so that then it's like they are on the network.

So in both these cases it's like being on the network, like it's just all one continuous network. And so that happens by having a way to connect from your client machine and connect into usually a firewall, sometimes a router, so that way you can connect into this network right here.

IPsec and SSL

When we are making a client-to-site connection, there's a couple ways we can do this. One is using IPsec and the other one is using SSL.

So when we say we're using IPsec, what that means is we're using a client, and a client is then tunneling that traffic back to the main network, and it's using IPsec, a network layer protocol, to do that. And so it's encrypting that traffic at the network layer. And so what that means is that's like that client is sitting directly on the network, and it can do whatever you would be able to do, for the most part, as if you were on that network. So the application support for it is pretty extensive, and the authentication strength is strong, and the complexity is medium. It does require that client.

This other method uses SSL. Well, really what it's using is your browser, so it's using through HTTPS to make the connection. So all you need for this is you just need a browser, so the complexity to set this up is pretty low. And when I say SSL, well, technically it's actually TLS now, but you'll see this explained as SSL. So this at the connection layer, it's through the application, which makes it a little more limited. So although the setup is easy, because you don't have this extra client, there's some limitations to what you're able to do when you're on this.

But those are the two different types: this IPsec with a client, or this SSL using your browser.

Split Tunnel

When you're having clients connect, you can also choose whether you want to have split tunnel or not. What split tunnel means is that this machine right here can route all of its traffic through the VPN back to the main network, back through the main office. But the disadvantage to this is if this is trying to go out to the internet and it routes everything back to this main network, then this network has to go and grab the information, it comes back to here, and then it comes back to this computer. It's a pretty long trip, rather than this going directly there. So what split tunnel does is allows some of the internet traffic to go out to the internet, while anything that's going back to the headquarters or the main office can go back to the main office. So it's split. It splits the traffic, hence the name split tunnel.

Other Remote Connections

Another way a machine can access resources on the network is by making a remote connection. And there's several ways that it could do this. So if this machine needed to access resources, what it can do is it actually can connect to another machine and then use that machine to connect to other devices on the network.

So some ways that we can do this is through something like an RDP connection, a remote desktop protocol connection. So largely this is associated with Windows, but it can connect into this machine.

Another thing that we could do is something like VNC, or virtual network computing. It's another protocol that we can use to connect from one machine to another in order to remote into that network.

If there is a machine that maybe is a Linux machine, we could use something like SSH and SSH into that machine. So that way we can control other machines on that network as well and remote into that network.

There is also virtual desktops. So we can have servers that are running virtual desktops on, and maybe it's running a whole series of virtual desktops on the network, and you remote into one of those virtual desktops. So that way then you have access to the network. And there's some real advantages to setting up virtual desktops and being able to remote into your network via virtual desktop.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →