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 →
- Site-to-site connects an office or data center router to a VPC with IPsec tunnels (AWS provides two tunnels per connection)
- Client VPN gives each user an encrypted connection from a laptop (OpenVPN, WireGuard, AWS Client VPN)
- Site-to-site is always-on and routed, client VPN is per user with authentication
- Test with
ip route,pingacross the tunnel andwg showoripsec 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.
More on Security: Firewalls, SGs, NACLs & VPN
Security group versus NACL: explain the differences.BeginnerHow do you let only your office IP SSH into a server?BeginnerWhat does it mean that a security group can reference another security group?BeginnerStateful versus stateless firewalls: what is the practical difference?BeginnerWhat is a WAF and where do you place it?BeginnerHow does DNAT or port forwarding work on a Linux gateway?Beginner