Safeguard
Application Security•

What are the main types of VPN and which one fits your use case?

VPN types split by who connects, remote access or site to site, and by protocol: IPsec, TLS based, WireGuard and provider MPLS. Match each to a use.

Safeguard Security Team
4 min read

VPNs fall into two groups. By topology: remote access, where a user device connects to a network, and site to site, where two networks connect. By technology: IPsec, TLS-based, WireGuard, and provider-run MPLS services. The right type depends on who connects, what they need to reach and who manages the link.

By topology: who is connecting?

Remote access. A laptop or phone connects to a gateway and gets access to internal resources. This is the model people usually mean when they say VPN.

Site to site. Two gateways connect networks, such as a branch office and a data center, or a data center and a cloud network. Users do not run VPN software. The gateways carry traffic between subnets all the time.

Provider-run. A carrier delivers a private network service to your sites. RFC 4026 sets out the terminology for provider-provisioned VPNs, and RFC 4364 defines BGP/MPLS layer 3 VPNs.

By technology: how is it built?

TypeLayerTypical useNotes
IPsecNetworkSite to site, remote accessFramework of open standards, usually set up with IKE. See NIST SP 800-77 Rev. 1 and RFC 4301.
TLS-basedTransport and aboveRemote access, sometimes per applicationRuns over TLS, often reachable through web ports and firewalls.
WireGuardNetworkRemote access, site to siteSmall codebase, fixed modern cryptography, simple configuration.
Provider MPLS L3VPNProvider networkCarrier-managed wide area networksSeparation by routing, not by encryption.

The WireGuard project describes its design as a simple, fast tunnel with a deliberately small set of cryptographic choices, which limits misconfiguration.

A constructed example

A company has a head office, six branch offices and 80 remote staff. The branches use site to site IPsec tunnels to the head office, because the gateways stay up and need no user action. Staff use a remote access client that signs in with MFA and reaches only the systems each role needs. The head office also uses a provider circuit to one data center for latency-sensitive traffic. Three types, each for one job.

What are the common mistakes?

Treating a VPN as a trust boundary is the largest one. Once connected, a device often sees the whole network. NIST SP 800-207 argues that location on the network should not grant trust, so pair any VPN with per-resource authorization and device checks.

The others are weak authentication, long-lived pre-shared keys that nobody rotates, unpatched gateways exposed to the internet, and lack of logging.

How do you choose?

For fixed networks that should always be linked, use site to site. For individual users, use remote access, and consider whether per-application access would give less exposure than a full network tunnel. For latency or contract needs, add a provider service. Use standard, maintained protocols, and check that your gateway vendor patches quickly.

What about performance?

Performance depends on the path and the cryptography more than the label. Protocols that run in the kernel and use hardware acceleration tend to carry more traffic per gateway. TLS-based VPNs over TCP can suffer when packet loss is high. Measure throughput and latency with your own traffic, from a real remote location, before standardizing on one type.

How to check or apply this

  1. List what connects: users, sites, cloud networks, partners.
  2. Pick topology first, then protocol. Match the protocol to the devices and the support you have.
  3. Require MFA and device checks on remote access.
  4. Replace shared keys with certificates or per-peer keys, and set a rotation schedule.
  5. Limit each tunnel to the subnets it needs.
  6. Patch gateways promptly and restrict their management interfaces.
  7. Log connections and review unusual sign-ins or new peers.

Quick check

Is a VPN the same as encryption?

A VPN encrypts traffic between its endpoints, in most designs. Some provider VPNs separate traffic without encrypting it. Check which you have.

Which VPN type is the most secure?

No type is secure on its own. Security depends on authentication, key handling, patching and what the tunnel is allowed to reach.

Sources

Last reviewed: 18 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.