Module 6.5 25 minAdvanced

Private tunnels across public networks — VPNs

A VPN encapsulates and encrypts traffic across an untrusted network. Site-to-site IPsec connects two offices over the Internet. Remote-access VPNs (SSL/IKEv2) connect a single user. This chapter covers the moving parts without drowning in IKE phases.

Course plan — preview

What you'll learn

  • Compare site-to-site and remote-access VPN use cases.
  • List the four IPsec services: confidentiality, integrity, authentication, anti-replay.
  • Describe SSL VPN's advantage over IKEv2 for remote users.

Two VPN families

  • Site-to-site — two routers/firewalls form a permanent encrypted tunnel between sites. Hosts behind each side reach each other transparently.
  • Remote access — a single user's device builds an on-demand tunnel into the corporate network. Common protocols: a TLS VPN, still often called SSL VPN (it runs over TCP 443, so it passes firewalls and web proxies that block almost everything else, and it can be clientless in a browser), and IKEv2 with IPsec (it moves the tunnel quickly when the device changes network, which suits phones).

What IPsec actually provides

  • Confidentiality — encryption (AES typically).
  • Integrity — keyed hash (HMAC-SHA) so tampering is detected.
  • Authentication — pre-shared key or digital certificate proves identity of the peers.
  • Anti-replay — sequence numbers reject captured-and-replayed packets.

9 more sections in this chapter, plus a 4-question quiz.

Course plan

Modules 2–8 are part of the Course & Lab Pass and All-Access Max — start with a free account

You can see the title, summary, learning objectives and the opening sections. The rest of this chapter, like all of modules 2–8, comes with the Course & Lab Pass and All-Access Max. A free account opens Module 1: How Networks Work end-to-end and saves your labs — start there, no card required.

  • Read every chapter in Module 1 — How Networks Work
  • Save labs of up to 5 devices
  • Save up to 3 topologies
  • See the full course syllabus + chapter titles

Free account · no card required · compare plans any time