Interview Prep/Networking/Security: Firewalls, SGs, NACLs & VPN

What is the difference between a site-to-site VPN and a client VPN?

BeginnerScenarioSecurity: Firewalls, SGs, NACLs & VPN
Answer

Situation read → One joins networks, the other joins individual users to a network.

What I'd do →

  1. Site-to-site connects an office or data center router to a VPC with IPsec tunnels (AWS provides two tunnels per connection)
  2. Client VPN gives each user an encrypted connection from a laptop (OpenVPN, WireGuard, AWS Client VPN)
  3. Site-to-site is always-on and routed, client VPN is per user with authentication
  4. Test with ip route, ping across the tunnel and wg show or ipsec status

Why → The first is network to network; the second is device to network.

Interview tip → Mention both tunnels in site-to-site VPN must be configured for HA.

All Networking questions Roadmap: Networking for DevOps

More on Security: Firewalls, SGs, NACLs & VPN