IPsec VPN: What It Is, How It Works, and When to Use It

Learn how an IPsec VPN protects network traffic, how its tunnels work, and how it compares with other VPN approaches.
An IPsec VPN is a virtual private network that uses the Internet Protocol Security (IPsec) suite to protect communications over a public network, such as the internet. It authenticates the parties, helps protect data from being read or altered in transit, and creates a secure connection between devices or networks. Organizations commonly use IPsec VPNs for site-to-site links between offices and for secure remote access.
Editor's pick: NordVPN — fast, secure VPN — Strong encryption, a no-logs policy and apps for every device. 30-day money-back guarantee. Get NordVPN →
IPsec VPN components and their roles
| Component | Main role | What it protects or handles | Typical choice |
|---|---|---|---|
| Authentication Header (AH) | Authenticates packets | Integrity and origin; not encryption | Use when encryption is not required |
| Encapsulating Security Payload (ESP) | Protects packet traffic | Encryption, integrity, and authentication | Common choice for confidentiality |
| Internet Key Exchange (IKE) | Establishes security associations | Negotiates keys and security settings | Use for automated key management |
| Security association (SA) | Defines a secure connection’s settings | Algorithms, keys, and traffic parameters | Created during negotiation |
| Transport mode | Protects the IP packet payload | Payload, while retaining the original IP header | Host-to-host communication |
| Tunnel mode | Encapsulates and protects the entire original IP packet | Original packet, including its header | Site-to-site or remote-access VPNs |
| Pre-shared key | Provides a shared authentication secret | Peer authentication | Smaller or simpler deployments |
| Digital certificate | Supports identity-based authentication | Peer identity | Larger deployments or managed identities |
Compiled November 2026; check the provider's site for current details.
| VPN | Obfuscation | From / month | Plan | Free plan | Refund | Alipay | UnionPay | Crypto | Website opens in China | Trustpilot | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Turn on manually Shadow | $2.49/mo | 27 months: $59.99 | Yes | 7 days | ✓ | ✓ | ✓ | ✓ | Official site blocked; our special link opens (4.4 s) | 4.2/5 (195 reviews) | |
| Turn on manually Obfuscated Servers / NordWhisper | $3.49/mo | 27 months: $94.23 | No | 30 days | ? | ✗ | ✓ | ✓ | ✗ Blocked | 4.2/5 (51,628 reviews) | |
| ✓ On by default all servers | $3.00/mo | 28 months: $84 | No | 30 days | ✗ | ✗ | ✓ | ✗ | ✗ Blocked | 4.4/5 (29,706 reviews) | |
| ✓ On by default Camouflage, with OpenVPN | See site | See site | No | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.3/5 (31,823 reviews) | |
| Turn on manually Stealth, free plan too | $2.99/mo | 12 months: $35.88 | Yes | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 2.1/5 (1,040 reviews) | |
| Turn on manually StealthVPN / OpenWeb | $12.50/mo | 24 months: $300 | No | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 1.3/5 (110 reviews) | |
| Turn on manually Shadowsocks, OpenVPN only | $2.03/mo | 40 months: $81.2 | No | 30 days | ✗ | ✗ | ✗ | ✗ | ✗ Blocked | 4.2/5 (11,033 reviews) | |
| Turn on manually selected servers | $2.19/mo | 28 months: $61.32 | No | 45 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.0/5 (24,178 reviews) | |
| Turn on manually switch to OpenVPN | $1.69/mo | 60 months: $101.55 | No | 31 days | ? | ? | ✗ | ✓ | ✗ Blocked | 4.4/5 (17,994 reviews) | |
| ✓ On by default TrustTunnel | $2.99/mo | 24 months: $71.76 | Yes | 30 days | ✓ | ✗ | ✓ | ✓ | Official site blocked; our special link opens (3.7 s) | 4.3/5 (290 reviews) | |
| Turn on manually QUIC / Shadowsocks / LWO | $5.61/mo | €5/mo | No | 14 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 3.2/5 (192 reviews) | |
| Turn on manually Stealth / WStunnel | $5.75/mo | 12 months: $69 | Yes | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.7/5 (13,355 reviews) | |
| Turn on manually Scramble, OpenVPN TCP | See site | See site | No | 30 days | ✓ | ✗ | ✗ | ✗ | ✗ Blocked | 4.4/5 (2,695 reviews) | |
| Not listed | $7.08/mo | 12 months: $84.99 | Yes | 30 days | ✓ | ✓ | ✓ | ✓ | ✓ Yes (3.5 s) | No page |
Prices checked 2026-11-10 on each vendor's pricing page (cheapest long plan, USD). Check the vendor's checkout for the final price.
Obfuscation checked 2026-11-14 on each vendor's site and help center: "on by default" = nothing to set; "turn on manually" = switch protocol or mode in settings; "not listed" = the vendor describes no obfuscation.
Payment methods checked 2026-11-10 on each vendor's payment pages: all 14 take cards and PayPal; ✗ = not listed, ? = the vendor's own pages disagree.
China access: whether the official website opens from mainland China networks (tests the website only, not the VPN connection). Last checked 2026-11-18 01:02 Beijing time.
Trustpilot score and review count checked 2026-11-10.
What is IPsec?
IPsec is a group of protocols designed to secure IP communications. Rather than being a single encryption method, it provides a framework for protecting traffic at the network layer. That means it can protect IP packets without requiring every application to implement its own security.
An IPsec VPN applies these protections to a virtual connection, often called a tunnel. Traffic passing through the tunnel is protected according to the settings agreed by its endpoints. Those endpoints might be VPN gateways at separate sites, or a gateway and a remote user’s device.
IPsec can provide several protections:
- Confidentiality: Encryption helps prevent unauthorized parties from reading protected traffic.
- Integrity: Checks help detect whether data has been changed in transit.
- Authentication: Each endpoint verifies the identity of the other according to the configured method.
- Access control: Network rules can determine which systems or resources a VPN user or connected site may reach.
These features help secure traffic over an untrusted network. They do not, by themselves, guarantee that a connected device is safe or that every resource inside a private network should be accessible. Free VPN Change Location: How to Switch Your Virtual Location Safely
How an IPsec VPN works
To establish an IPsec VPN, the endpoints first need compatible configuration. They negotiate security settings and authenticate one another. Once an agreement is in place, they can protect traffic sent through the tunnel.
In broad terms, the process looks like this:
- The endpoints connect. A user’s device or a VPN gateway contacts the other endpoint.
- They authenticate and negotiate settings. The endpoints confirm identities and agree on how to protect traffic.
- A secure tunnel is established. The connection is ready to carry traffic under the agreed protections.
- Traffic is sent through the tunnel. The receiving endpoint processes the protected packets and forwards permitted traffic to its destination.
The exact details depend on the VPN design and device configuration. Administrators must make sure both ends use compatible settings and that routing and access rules send the intended traffic through the VPN. A tunnel that is established successfully may still fail to provide access if routes or permissions are incorrect.
IPsec is commonly used in tunnel mode, which protects packets as they travel between endpoints. It can support both site-to-site VPNs and remote-access VPNs. A site-to-site tunnel typically connects networks through their gateways, while remote access connects an individual user’s device to a private network. VPN for Edge Free Extension: What to Choose and How to Use It
IPsec VPN and SSL VPN compared
| Decision factor | IPsec VPN | SSL VPN |
|---|---|---|
| Common protocol approach | IP-layer security using IPsec | TLS-based security |
| Typical access scope | Can provide access to a network or broad IP traffic | Often provides application or browser-based access |
| Client software | Often requires a VPN client | May support browser access; client may still be needed |
| Device access | Can support traffic from multiple applications | Access may be limited to configured applications |
| Network setup | May require firewall and NAT traversal configuration | Commonly uses HTTPS-friendly connectivity |
| Site-to-site use | Commonly used for connecting networks | Less commonly used for this purpose |
| Remote-user access | Supported | Supported |
| Best fit | Network-level access and site-to-site links | Selective access to applications or services |
Compiled November 2026; check the provider's site for current details.
Common IPsec VPN use cases
Site-to-site connections
A site-to-site IPsec VPN connects separate private networks over a public network. For example, an organization may use it to connect an office network to another location or to a cloud environment. Devices at each site can communicate through the tunnel according to the configured routes and policies.
This approach is useful when the goal is to connect networks rather than set up a separate VPN connection on every device. It does require suitable VPN gateways at the participating locations and careful coordination of their configurations. Urban VPN Extension for Edge: How to Install and Use It
Remote access
A remote-access IPsec VPN lets an individual user connect to a private network from outside the organization. After connecting, the user may be able to reach permitted internal resources, such as business systems or file services. The organization controls access through authentication, VPN settings, and network policies.
Remote access should be limited to what each user needs. A VPN connection can protect the path into the network, but it should not be treated as a substitute for endpoint security or access controls.
IPsec VPN compared with SSL VPN
IPsec and SSL VPNs are different approaches to VPN connectivity. The best fit depends on what needs to connect, which devices and applications are involved, and how the organization manages access.
| Consideration | IPsec VPN | SSL VPN |
|---|---|---|
| Typical role | Connects networks or provides remote access | Commonly provides remote access to selected applications or services |
| Protection approach | Uses the IPsec protocol suite to secure IP traffic | Uses TLS-based technology to protect connections |
| Scope of access | May provide access to network resources according to policy | Can be configured for access to specific applications or broader resources |
| Key planning needs | Compatible endpoints, routing, authentication, and security policies | Client or browser support, application access, and security policies |
Neither option is automatically more secure in every situation. Security depends on the implementation, configuration, identity controls, and maintenance. Organizations should choose based on their access requirements and ensure the selected VPN is supported by their network equipment and user devices. Best Free VPN Extension Edge: Top Options and What to Check
Benefits and limitations
An IPsec VPN can secure traffic over public infrastructure while supporting connections between networks or remote users. Because protection operates at the network layer, it can work with a range of IP-based applications without each application needing its own VPN-specific configuration.
There are also practical considerations:
- Configuration must match at both ends. Different settings can prevent a tunnel from establishing or carrying traffic correctly.
- Access needs clear boundaries. A secure tunnel should not automatically grant unrestricted access to the private network.
- Devices need maintenance. VPN gateways and client software should be kept supported and configured according to current security guidance.
- Troubleshooting can involve several layers. Authentication, tunnel settings, routing, and firewall rules can all affect connectivity.
- A VPN protects a connection, not every endpoint. Compromised or poorly secured devices can still put organizational resources at risk.
For these reasons, an IPsec VPN should be part of a broader security plan that includes strong identity checks, limited permissions, endpoint protection, and monitoring.
Choosing an IPsec VPN use case Does NordVPN Work in China? What Travelers Should Know
| Use case | Connection pattern | Main benefit | Key consideration |
|---|---|---|---|
| Site-to-site networking | Gateway to gateway | Connects office networks securely | Configure both gateways and routing |
| Remote employee access | User device to network gateway | Extends private network access to users | Requires compatible client and authentication |
| Branch-office connectivity | Branch gateway to central gateway | Links distributed locations | Plan address ranges and traffic routes |
| Cloud network connection | Network gateway to cloud gateway | Connects on-premises and cloud networks | Check cloud and gateway compatibility |
| Partner access | External network or user to selected resources | Supports controlled connectivity | Limit access to necessary resources |
| Application-only access | User to specific application | IPsec may provide broader access than needed | Consider whether an SSL VPN is a better fit |
Compiled November 2026; check the provider's site for current details.
Recommendation
Choose an IPsec VPN when you need to protect IP communications between network gateways or provide managed remote access to private resources. Before deployment, confirm that the endpoints support compatible settings, define which traffic and users may connect, and test routing and access policies. Maintain the VPN equipment and review permissions regularly. A correctly configured tunnel is most useful when it is paired with strong controls on both sides.
