Achievable logoAchievable logo
CCNA
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Introduction to networking
2. Administering Ethernet LANs
3. IP connectivity
4. Network services
5. IPv6
6. Wireless networking
7. Network management and administering network devices
8. Network security fundamentals
8.1 Fundamental network security concepts
8.2 Securing access to Cisco network devices
8.3 Firewalls and Intrusion Prevention Systems (IPS)
8.4 Virtual Private Networks (VPNs)
8.5 Layer 2 security features
9. Network automation and programmability
Wrapping up
Achievable logoAchievable logo
8.4 Virtual Private Networks (VPNs)
Achievable CCNA
8. Network security fundamentals
Our CCNA course is currently in development and is a work-in-progress.

Virtual Private Networks (VPNs)

4 min read
Font
Discuss
Share
Feedback

Virtual private networks (VPNs): Securing your network edge

Businesses often need to connect people and offices over the Internet without exposing private data. Remote work made this even more common after the COVID-19 pandemic. The problem is that the Internet is a public network, so sending confidential corporate traffic “in the clear” (unencrypted) risks interception.

A Virtual Private Network (VPN) solves this by creating an encrypted connection, often called a tunnel, between devices or networks across the Internet. Data inside the tunnel is protected from eavesdropping and unauthorized access, helping organizations maintain confidentiality and integrity when connecting remote offices or supporting remote employees.

The core idea behind a VPN is encryption:

  • When a device or network connects to a corporate network through a VPN, the traffic is encapsulated (wrapped) and encrypted.
  • Encryption turns readable data into an unreadable format.
  • Only the intended recipient can decrypt it using the correct decryption key.

Because of this, a remote device or remote network can function as if it were directly connected to the internal corporate network, while still traveling over the public Internet.

VPNs are broadly categorized into two primary types, each serving different needs:

  • Site-to-Site VPNs
  • Remote Access VPNs

Both types use strong security protocols, and IP Security (IPsec) is a common foundation for building and maintaining these encrypted connections.

Site-to-Site VPNs

A Site-to-Site VPN connects entire networks to each other - for example, linking a headquarters network to branch office networks over the Internet. This is useful when distance makes dedicated private connections impractical or too expensive. Instead of leasing private lines, organizations can use existing Internet connections and still keep inter-office traffic secure.

Image

Image Title - Site-to-Site VPNs

Site-to-Site VPNs typically use dedicated network devices - such as firewalls or routers - at each location. These devices are configured to establish and maintain the encrypted tunnel automatically. As a result, devices in one office can securely communicate with devices in another office without each endpoint needing its own VPN client.

This is often described as a network-to-network (or “LAN-to-LAN”) connection because it securely links separate local area networks (LANs) into a unified wide area network (WAN) over the public Internet.

Key protocols used in Site-to-Site VPNs include Internet Key Exchange (IKEv1 or IKEv2) and IPsec:

  • IKE negotiates and manages the security associations (SAs) between VPN peers, including exchanging cryptographic keys.
  • IPsec then provides the packet-level security services - encryption, authentication, and integrity - for traffic inside the tunnel.

IPsec operates at the Network layer (Layer 3) of the OSI model, which allows it to protect IP traffic broadly and consistently between sites.

Remote access VPNs

A Remote Access VPN connects an individual device (an endpoint) to a corporate network from outside the office. This is the common solution for mobile employees, teleworkers, and contractors who need access to internal resources.

Endpoints can include laptops, tablets, or smartphones, and they typically run VPN client software.

When a user starts a Remote Access VPN connection:

  • The VPN client establishes an encrypted tunnel to a VPN concentrator or firewall at the corporate site.
  • This creates a computer-to-network connection.
  • The user’s device can then access internal servers, applications, and data as if it were on the corporate network.

This encryption is especially important on untrusted networks (like public Wi‑Fi), where traffic could otherwise be captured.

Modern Remote Access VPNs may also include additional controls such as endpoint posture assessment. Before granting full access, the VPN system can verify that the connecting device meets corporate security requirements - for example:

  • Antivirus is installed and up to date
  • Operating system patches are current
  • Required firewall settings are enabled

This reduces the risk of allowing an insecure device to connect to internal systems.

Like Site-to-Site VPNs, Remote Access VPNs commonly use strong encryption and authentication protocols, with IPsec being widely adopted. The VPN client and the corporate VPN gateway work together to establish an IPsec tunnel so that traffic is encrypted, authenticated, and protected from interception while crossing the public Internet.

In summary, VPNs are a core technology in modern network security. Site-to-Site VPNs securely connect office networks to each other, while Remote Access VPNs securely connect individual users to the corporate network. In both cases, encryption and protocols such as IPsec are central to creating private, secure connectivity over a public network - an essential concept for networking work and CCNA-level understanding.

Virtual Private Networks (VPNs): Overview

  • Encrypts data over public Internet to protect confidentiality and integrity
  • Creates secure “tunnels” between devices or networks
  • Two main types: Site-to-Site VPNs and Remote Access VPNs
  • Common protocol: IP Security (IPsec)

Site-to-Site VPNs

  • Connects entire networks (e.g., HQ to branch offices)
  • Uses dedicated devices (firewalls/routers) to establish tunnels
  • Key protocols:
    • IKEv1/IKEv2: negotiates security associations, exchanges keys
    • IPsec: provides encryption, authentication, integrity at Network layer (Layer 3)
  • Network-to-network (LAN-to-LAN) connectivity over Internet

Remote Access VPNs

  • Connects individual devices (endpoints) to corporate network remotely
  • Requires VPN client software on user device
  • Tunnel established to VPN concentrator or firewall at corporate site
  • Computer-to-network connection; enables access to internal resources
  • May include endpoint posture assessment (e.g., antivirus, OS patches, firewall)
  • Uses strong encryption/authentication (commonly IPsec) to protect data on untrusted networks

Key Concepts and Protocols

  • Encryption: converts data to unreadable format, requires decryption key
  • Encapsulation: wraps data for secure transmission
  • IPsec: foundational protocol for both VPN types, operates at Layer 3
  • VPNs enable secure remote work and inter-office connectivity over public networks

Sign up for free to take 5 quiz questions on this topic

Previous
Next  | 8.5.1 Port security
All rights reserved ©2016 - 2026 Achievable, Inc.

Virtual Private Networks (VPNs)

Virtual private networks (VPNs): Securing your network edge

Businesses often need to connect people and offices over the Internet without exposing private data. Remote work made this even more common after the COVID-19 pandemic. The problem is that the Internet is a public network, so sending confidential corporate traffic “in the clear” (unencrypted) risks interception.

A Virtual Private Network (VPN) solves this by creating an encrypted connection, often called a tunnel, between devices or networks across the Internet. Data inside the tunnel is protected from eavesdropping and unauthorized access, helping organizations maintain confidentiality and integrity when connecting remote offices or supporting remote employees.

The core idea behind a VPN is encryption:

  • When a device or network connects to a corporate network through a VPN, the traffic is encapsulated (wrapped) and encrypted.
  • Encryption turns readable data into an unreadable format.
  • Only the intended recipient can decrypt it using the correct decryption key.

Because of this, a remote device or remote network can function as if it were directly connected to the internal corporate network, while still traveling over the public Internet.

VPNs are broadly categorized into two primary types, each serving different needs:

  • Site-to-Site VPNs
  • Remote Access VPNs

Both types use strong security protocols, and IP Security (IPsec) is a common foundation for building and maintaining these encrypted connections.

Site-to-Site VPNs

A Site-to-Site VPN connects entire networks to each other - for example, linking a headquarters network to branch office networks over the Internet. This is useful when distance makes dedicated private connections impractical or too expensive. Instead of leasing private lines, organizations can use existing Internet connections and still keep inter-office traffic secure.

Image

Image Title - Site-to-Site VPNs

Site-to-Site VPNs typically use dedicated network devices - such as firewalls or routers - at each location. These devices are configured to establish and maintain the encrypted tunnel automatically. As a result, devices in one office can securely communicate with devices in another office without each endpoint needing its own VPN client.

This is often described as a network-to-network (or “LAN-to-LAN”) connection because it securely links separate local area networks (LANs) into a unified wide area network (WAN) over the public Internet.

Key protocols used in Site-to-Site VPNs include Internet Key Exchange (IKEv1 or IKEv2) and IPsec:

  • IKE negotiates and manages the security associations (SAs) between VPN peers, including exchanging cryptographic keys.
  • IPsec then provides the packet-level security services - encryption, authentication, and integrity - for traffic inside the tunnel.

IPsec operates at the Network layer (Layer 3) of the OSI model, which allows it to protect IP traffic broadly and consistently between sites.

Remote access VPNs

A Remote Access VPN connects an individual device (an endpoint) to a corporate network from outside the office. This is the common solution for mobile employees, teleworkers, and contractors who need access to internal resources.

Endpoints can include laptops, tablets, or smartphones, and they typically run VPN client software.

When a user starts a Remote Access VPN connection:

  • The VPN client establishes an encrypted tunnel to a VPN concentrator or firewall at the corporate site.
  • This creates a computer-to-network connection.
  • The user’s device can then access internal servers, applications, and data as if it were on the corporate network.

This encryption is especially important on untrusted networks (like public Wi‑Fi), where traffic could otherwise be captured.

Modern Remote Access VPNs may also include additional controls such as endpoint posture assessment. Before granting full access, the VPN system can verify that the connecting device meets corporate security requirements - for example:

  • Antivirus is installed and up to date
  • Operating system patches are current
  • Required firewall settings are enabled

This reduces the risk of allowing an insecure device to connect to internal systems.

Like Site-to-Site VPNs, Remote Access VPNs commonly use strong encryption and authentication protocols, with IPsec being widely adopted. The VPN client and the corporate VPN gateway work together to establish an IPsec tunnel so that traffic is encrypted, authenticated, and protected from interception while crossing the public Internet.

In summary, VPNs are a core technology in modern network security. Site-to-Site VPNs securely connect office networks to each other, while Remote Access VPNs securely connect individual users to the corporate network. In both cases, encryption and protocols such as IPsec are central to creating private, secure connectivity over a public network - an essential concept for networking work and CCNA-level understanding.

Key points

Virtual Private Networks (VPNs): Overview

  • Encrypts data over public Internet to protect confidentiality and integrity
  • Creates secure “tunnels” between devices or networks
  • Two main types: Site-to-Site VPNs and Remote Access VPNs
  • Common protocol: IP Security (IPsec)

Site-to-Site VPNs

  • Connects entire networks (e.g., HQ to branch offices)
  • Uses dedicated devices (firewalls/routers) to establish tunnels
  • Key protocols:
    • IKEv1/IKEv2: negotiates security associations, exchanges keys
    • IPsec: provides encryption, authentication, integrity at Network layer (Layer 3)
  • Network-to-network (LAN-to-LAN) connectivity over Internet

Remote Access VPNs

  • Connects individual devices (endpoints) to corporate network remotely
  • Requires VPN client software on user device
  • Tunnel established to VPN concentrator or firewall at corporate site
  • Computer-to-network connection; enables access to internal resources
  • May include endpoint posture assessment (e.g., antivirus, OS patches, firewall)
  • Uses strong encryption/authentication (commonly IPsec) to protect data on untrusted networks

Key Concepts and Protocols

  • Encryption: converts data to unreadable format, requires decryption key
  • Encapsulation: wraps data for secure transmission
  • IPsec: foundational protocol for both VPN types, operates at Layer 3
  • VPNs enable secure remote work and inter-office connectivity over public networks

More from Network security fundamentals

  • Fundamental network security concepts
  • Securing access to Cisco network devices
  • Firewalls and Intrusion Prevention Systems (IPS)