Network security

What is a site-to-site VPN, and why might your business need one?


What is site to site VPN

Summary: A site-to-site VPN uses encrypted tunnels to link two or more networks over the public internet, letting every location behave as part of one private network.

Modern companies rarely live in one building. They run branch offices, cloud workloads, and even pop-up sites at events. All those locations share data every minute. If that traffic travels over a public network without protection, attackers can read, alter, or hijack it. A site-to-site VPN delivers a secure connection between entire networks by wrapping every bit in strong encryption.

Site-to-site VPN definition

A site-to-site VPN is a VPN connection that links two or more networks across the public internet using an encrypted tunnel. It relies on Internet Protocol Security (IPsec) or a similar protocol suite to authenticate VPN endpoints, encrypt data, and maintain integrity.

Because the tunnel joins entire networks, people sometimes call it a “network-to-network” or “router-to-router” VPN. The most common deployment connects an on-premises LAN to a branch office network or a cloud VPC.

In short, a site VPN lets multiple sites communicate as one private network even though the traffic crosses a public network. Unlike a remote access VPN, which secures one device at a time, a site-to-site setup secures whole networks through their gateways. It also differs from clientless SSL portals that proxy web traffic, because it preserves all IP-level protocols and allows any application to communicate across sites.

When does it make sense to use a site-to-site VPN?

Site-to-site VPNs work best when an organization needs persistent, transparent connectivity between locations. They balance security, cost, and manageability better than leased lines or ad-hoc user VPNs. Consider this architecture in the following scenarios:

  1. Multiple physical locations: If you operate multiple offices, warehouses, or data centers, you need secure communication between them. A site-to-site design keeps resource sharing fast and private.
  2. Branch office network connectivity: Retail chains, medical clinics, and schools often maintain hundreds of small sites. Each branch office requires safe, predictable access to corporate applications hosted at headquarters or in the cloud.
  3. Cloud extension: Moving a workload to AWS, Azure, or Google Cloud does not remove the need for private networks. A site VPN securely connects the on-premises LAN to the cloud VPC without exposing services to the public internet.
  4. Mergers and acquisitions: Newly merged companies usually run separate infrastructures until a full migration is completed. A temporary site VPN allows data transfer and collaboration without waiting for a total redesign.
  5. Partner or supplier collaboration: Manufacturers work with external users, such as suppliers, who need limited access to design systems or inventory APIs. An extranet site-to-site tunnel provides that access while honoring strict access control rules.
  6. Regulatory compliance: Frameworks like HIPAA, PCI-DSS, and GDPR demand encryption in transit. A site-to-site VPN with IPsec tunnels proves that sensitive data stays protected between locations.
  7. Cost-effective alternative to dedicated lines: A private MPLS circuit offers predictable bandwidth performance but can cost thousands per month per site. A VPN connection over business broadband provides similar security at a fraction of the price.

In all of these situations, the technology delivers encrypted, predictable paths without forcing every employee or application to change its workflow. By tunneling at the network layer, it blends seamlessly with existing routing and security policies.

When to use a site-to-site VPN

Understanding how site-to-site VPNs work

Although implementation details vary by vendor, every site-to-site VPN follows the same basic lifecycle. The gateways discover one another, negotiate cryptographic parameters, and then encapsulate traffic so it can traverse untrusted networks securely. At a high level, the workflow looks like this:

  1. VPN gateway deployment: Each location has a device capable of handling VPN software and cryptography. That device might be a next-generation corporate firewall, a virtual router in an IaaS platform, or a small hardware appliance in a branch office.
  2. Tunnel establishment: Gateways exchange identification information and create a secure channel known as the Internet Key Exchange (IKE) phase. They agree on encryption algorithms, hash functions, and session timers.
  3. Authentication: The gateways verify each other with pre-shared keys or digital certificates. This step blocks rogue endpoints and preserves the trust network.
  4. Data encapsulation: When a device sends traffic to an IP address at a remote site, the gateway intercepts the packet, encrypts it, and wraps it inside another IP header. This wrapper carries the destination gateway’s public IP address.
  5. Secure transport: The encapsulated packet travels over the public internet. Anyone who captures it sees only scrambled bytes and metadata required for delivery.
  6. Decapsulation and forwarding: The destination gateway strips the outer header, decrypts the payload, and sends the original packet to the target system. To internal servers and workstations, the information looks like it came from the local network.

Modern gateways refresh keys regularly, detect link failures, and re-establish tunnels within seconds if a provider drops packets. Administrators can run multiple parallel tunnels for redundancy or load-sharing. The protocol suites have been hardened over decades, making a successful cryptographic attack extremely difficult. Because the entire process is automatic, users experience seamless, secure communication.

How site-to-site VPNs work

Different types of site-to-site VPNs

Site-to-site architectures fall into two broad categories based on who controls the networks on each side of the tunnel. Understanding the distinction helps you choose the right access controls and compliance model.

Intranet-based VPN

Intranet-based VPN

An intranet-based site-to-site VPN links multiple networks that belong to the same company. A global manufacturer, for example, may connect factories in three countries to its central enterprise resource planning (ERP) system. All traffic stays inside private networks controlled by corporate IT.

Extranet-based VPN

Extranet-based VPN

An extranet-based site-to-site VPN connects your corporate network to an outside organization. The VPN connection grants the partner access only to approved subnets or services. Careful network configuration, access control lists, and monitoring are vital to protect the rest of your infrastructure.

Many organizations also extend a site-to-site model to the cloud. Public IaaS vendors offer managed VPN gateways that form an encrypted tunnel between your office firewall and a virtual router in the cloud VPC. This approach keeps cloud workloads inside the corporate network without exposing SSH or RDP to the public internet.

Enterprises with dozens of branch office network sites sometimes deploy dynamic-multipoint VPN (DMVPN) or a similar hub-and-spoke architecture. With DMVPN, one branch can create a temporary VPN tunnel directly to another branch, trimming latency and offloading traffic from headquarters. Both options follow the same principles of data encryption, secure communication, and policy-driven access control, yet they scale better for distributed networks.

The benefits of site-to-site VPNs for secure network architecture

Deploying encrypted links between sites is about more than ticking a compliance box. It can simplify day-to-day operations, cut telecom costs, and give teams the freedom to place workloads where they make the most sense.

  • Encrypted connection on all paths: Data encryption stops eavesdropping on the public internet. Attackers see only the ciphertext, even if they capture packets.
  • Unified corporate network: Employees reach shared drives, intranets, and VoIP services regardless of their physical location.
  • Lower operational costs: Broadband links paired with IPsec tunnels cost less than MPLS lines and scale quickly as you add multiple offices.
  • Streamlined administration: IT manages a few VPN gateways rather than hundreds of individual users. Policies stay consistent across all connected networks.
  • Scalability: Add a new site by configuring a new gateway and updating routing tables. No need to change every endpoint device.
  • Business continuity: Redundant tunnels and diverse service provider links keep critical applications online even if one ISP fails.

Together, these advantages let businesses expand faster while protecting sensitive data. When paired with modern monitoring and automation tools, a site-to-site fabric becomes an integral part of a Zero Trust network architecture.

Advantages of site-to-site VPNs

What are the limitations of site-to-site VPNs?

Despite their strengths, site-to-site VPNs are not a universal remedy. You should weigh the following trade-offs before committing to large-scale deployment.

  • Reliance on internet connection quality: Packet loss or high latency on a public network affects the VPN tunnel’s performance.
  • Setup complexity: Choosing compatible encryption settings, resolving IP address overlaps, and updating firewall rules demand expertise.
  • Hardware overhead: Encryption and decryption consume CPU cycles. Older VPN devices may become a bottleneck as bandwidth grows.
  • Limited support for mobile staff: Site-to-site VPNs secure entire networks but do little for remote workers who operate from hotels or home offices. They still need secure remote access solutions such as a remote access VPN client.
  • Monitoring challenges: It can be hard to pinpoint whether a slow file transfer stems from the WAN link, the VPN tunnel, or the application itself.
  • Scaling to very large ecosystems: As the number of tunnels grows, manual configuration becomes error-prone. Mesh topologies may require advanced tools or a move toward Secure Access Service Edge.

Most of these pain points grow with the number of tunnels, so planning for scalability and investing in automated configuration tools early can prevent operational headaches later.

Limitations of site-to-site VPNs

How to set up a site-to-site VPN

Building a reliable site-to-site deployment is as much a project-management exercise as a technical one. The following steps outline a proven rollout sequence that minimizes downtime and surprises.

  1. Assess requirements: List the number of sites, expected bandwidth, security measures, and compliance needs.
  2. Select hardware or virtual gateways: Ensure each gateway supports IPsec tunnels, strong encryption, and route-based VPNs.
  3. Plan addressing: Assign unique private IP address ranges to avoid conflicts when two or more networks merge.
  4. Provision internet services: Order business-grade broadband or fiber with Service Level Agreements (SLAs). Consider redundant links for critical offices.
  5. Define policies: Decide which subnets can communicate, what access control lists apply, and whether to use static or dynamic routing.
  6. Configure each gateway: Input the peer IP address, pre-shared key or certificate, encryption algorithms, and tunnel lifetime.
  7. Establish routes: Use static routes, Border Gateway Protocol (BGP), or Open Shortest Path First (OSPF) so traffic finds the tunnel.
  8. Test the VPN tunnel: Ping hosts across the link, run throughput tests, and simulate failover scenarios.
  9. Document and monitor: Store configurations in a version-controlled repository. Enable logging, SNMP, or NetFlow to track performance.

For teams without deep network experience, a managed VPN provider or a cloud-based SASE platform offers quicker deployment and ongoing support. These services offload routine updates, patch management, and capacity planning to experts, freeing internal teams to focus on core business objectives.

They also provide unified dashboards that surface real-time metrics, alerting you to issues before users feel the impact. When evaluating vendors, look for transparent SLAs, integration with your identity provider, and detailed audit logs.

How NordLayer helps securely connect your sites

Traditional site-to-site VPN projects often take months, require expensive hardware, and depend on specialized teams. NordLayer simplifies this with a cloud-managed secure access solution that combines Site-to-Site VPN, Secure Remote Access, and advanced threat protection in one platform.

NordLayer simplifies secure site connections

Key advantages:

  • Fast deployment: Launch virtual VPN gateways in minutes—globally—and link locations using IPsec or NordLynx (WireGuard®) tunnels.
  • Zero Trust Network Access (ZTNA): Enforce granular, identity-based policies that restrict access to specific apps and services—even within connected sites.
  • Flexible infrastructure: NordLayer supports various connection models (e.g., hub-and-spoke, full mesh) and integrates with both on-prem and cloud environments.
  • Centralized visibility: Monitor network health, usage, and policies from one Control Panel.
  • Built-in threat protection: Strengthen site and remote access security with DNS filtering, malware detection, and network segmentation.
  • Site-to-Site VPN support: Securely connect branch offices, data centers, and cloud networks without physical infrastructure changes.

With NordLayer, organizations can connect distributed locations and remote teams under one scalable and secure architecture—without complexity.

Don't bite the bait: Trust no one with ZTNA

Implement Zero Trust Network Access for stronger phishing protection

mob

Frequently asked questions

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

A site-to-site VPN permanently links two or more networks through gateway devices. It protects every system on those networks without requiring manual action from individual users. A remote access VPN, sometimes called a point-to-site VPN, creates an on-demand tunnel from one device to a central network. Users launch VPN software, authenticate, and then reach corporate resources.

Is Secure Access Service Edge (SASE) a replacement for site-to-site VPNs?

SASE is an architecture that combines WAN connectivity with cloud-delivered security, including VPN, firewall, and access control. SASE can replace traditional site-to-site VPNs or integrate with them. Many organizations keep IPsec tunnels for key data centers but use SASE gateways to extend secure access to cloud applications and remote workers.

What hardware is needed to set up a site-to-site VPN?

Each location needs a VPN-capable firewall, router, or dedicated appliance. Modern gateways often include acceleration chips for IPsec tunnels. You also need reliable business-grade internet connections and, ideally, redundant power and links for high availability.

What protocols are commonly used in site-to-site VPNs?

IPsec is the most popular because it offers strong data encryption, authentication, and integrity checks. Some vendors support SSL/TLS-based tunnels for specific use cases, and newer platforms provide WireGuard® for low-latency connections. MPLS works at the service-provider layer and can carry VPN traffic, but is not itself an encryption protocol. Most enterprises rely on IPsec tunnels because they interoperate across different VPN devices and service providers.


Copywriter


Share this post

Related Articles

Outsourced vs in house Cybersecurity Pros and Cons

Stay in the know

Subscribe to our blog updates for in-depth perspectives on cybersecurity.