Course contentsShow
← Security
Lesson 468 of 3,05211. Network Security - VPNs and TunnelingFree lesson

Site-to-Site VPNs

Understand site-to-site VPNs for connecting entire networks, typical in branch office and data center scenarios.

Site-to-Site VPNs

What you'll learn: How organizations securely connect entire networks together over the internet using site-to-site VPNs.


What Is a Site-to-Site VPN?

A site-to-site VPN creates an encrypted tunnel between two entire networks—not individual users. Think of it as building a secure, permanent bridge between two office locations over the public internet. Unlike remote access VPNs where individual users connect to a central network, site-to-site VPNs connect routers or firewalls at different physical sites, making both networks appear as one unified system.

How It Works

Imagine your company has headquarters in New York and a branch office in Seattle. Instead of each employee needing a VPN client, the VPN gateway devices (usually firewalls or dedicated VPN appliances) at each location handle all encryption and routing automatically.

When a New York employee accesses a Seattle file server, the traffic:

  1. Leaves the employee's computer as normal traffic
  2. Reaches the local VPN gateway
  3. Gets encrypted and tunneled through the internet
  4. Arrives at Seattle's VPN gateway and is decrypted
  5. Reaches the destination server transparently

From the user's perspective, they're just accessing another network resource—no special client software required.

Common Use Cases

  • Branch office connectivity: Connecting regional offices to headquarters
  • Data center interconnection: Linking production and backup data centers
  • Partner networks: Secure B2B connections between organizations
  • Cloud integration: Connecting on-premises infrastructure to cloud resources

Architecture Considerations

Site-to-site VPNs are always-on connections, typically configured with static routing or dynamic routing protocols. Both ends must have static IP addresses or dynamic DNS. The VPN gateways handle authentication using pre-shared keys or digital certificates rather than user credentials.

Key Takeaway: Site-to-site VPNs securely connect entire networks together through encrypted tunnels, making geographically separated networks function as one unified infrastructure—essential for modern multi-location organizations.