Join our Newsletter — 33% off our NHI Course
Architecture & Implementation

IPsec

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Architecture & Implementation

IPsec is a long-standing VPN framework used to secure network traffic between hosts or networks. It supports many configuration options, cipher suites, and deployment patterns, which gives flexibility but also increases complexity. In practice, that complexity can make secure interoperability and troubleshooting harder for teams.

What IPsec Actually Is in Practice

IPsec is not a single protocol so much as a framework for protecting IP traffic with security associations, key exchange, cryptographic protection, and policy-driven selectors. Its value is that it can secure traffic at the network layer without changing applications, but that same flexibility means the real deployment outcome depends heavily on design choices.

In practical terms, teams use IPsec for site-to-site tunnels, host-to-host protection, and remote-access VPNs. The security properties come from how peers authenticate, how keys are negotiated, and whether the tunnel policy matches the intended traffic flow. A well-built deployment can be transparent to applications; a poorly built one can be brittle and hard to operate.

Why IPsec Is Still Widely Used

IPsec remains important because it can protect traffic across untrusted networks while preserving compatibility with existing systems. It is especially useful where the network boundary itself still matters, such as inter-site connectivity, partner links, and infrastructure-to-infrastructure communication.

The framework’s age is part of its strength and its burden. It is broadly supported, but implementation details vary across vendors and platforms. That means interoperability is often less about the abstract protocol and more about whether both sides agree on algorithms, modes, lifetime settings, and packet handling expectations.

Configuration and Interoperability Complexity

IPsec deployments become difficult when organisations treat it as a checkbox rather than a negotiated security design. The framework offers many valid combinations of authentication material, cipher suites, encapsulation modes, and gateway behaviours, so small mismatches can produce outages, weak cryptography, or tunnels that come up but do not pass the right traffic.

That complexity also affects troubleshooting. Failures may appear as routing problems, MTU issues, authentication faults, selector mismatches, or transform negotiation failures, even when the root cause sits elsewhere. In other words, IPsec often fails in ways that are operationally ambiguous, which makes disciplined configuration management and clear ownership essential.

Security Properties and Operational Trade-offs

When IPsec is configured well, it can provide confidentiality, integrity, and peer authentication for traffic in motion. The trade-off is that stronger security posture usually comes with more operational overhead, especially when organisations mix legacy peers, multiple gateways, or different certificate and keying approaches.

One useful way to think about IPsec is that it shifts risk from the application layer to the network and key-management layers. That reduces exposure for many workloads, but it also concentrates trust in gateway configuration, tunnel policy, and cryptographic choices. For that reason, deployment quality matters as much as the protocol itself.

Risk and Threat Considerations

IPsec’s main risk is not the protocol concept, but weak implementation, stale cryptographic choices, and misconfiguration at the tunnel boundary. If peers authenticate poorly or policy is too broad, an attacker who reaches the VPN trust boundary may be able to impersonate a peer, intercept traffic, or gain access to more network segments than intended.

Failure mechanism: Negotiation failures, weak key exchange settings, permissive selectors, or expired trust material can turn a protective tunnel into either an availability problem or an unintended access path.

Impact: The result can be traffic exposure, lateral movement opportunities, or hard-to-diagnose outages that undermine both confidentiality and operational resilience.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SC-8 — Transmission Confidentiality and IntegrityIPsec protects data in transit across untrusted networks.
IA-9 — Service Identification and AuthenticationIPsec peers and gateways must authenticate each other before trust is established.
IA-5 — Authenticator ManagementIPsec keying material and related secrets require lifecycle control and rotation.
Recommendation — Apply SC-8 to protect tunnel traffic with approved confidentiality and integrity controls. Use IA-9 to authenticate gateway-to-gateway or system-to-system tunnel peers. Manage IPsec credentials and keys under IA-5 with rotation, revocation, and expiry controls.
CIS Controls v8CIS-12 — Network Infrastructure ManagementIPsec is a network control whose security depends on device and tunnel configuration.
Recommendation — Harden and inventory VPN-capable network devices under CIS-12.
NIST CSF 2.0PR.DS-02 — Data-in-Transit is ProtectedIPsec is a core mechanism for protecting network traffic in motion.
Recommendation — Use PR.DS-02 to ensure traffic is protected with strong in-transit controls.

Practitioner Guidance

Governance implication: Treat IPsec as a managed security control, not just a connectivity feature. Ownership should cover peer authentication, cipher-policy consistency, tunnel scope, lifecycle review, and periodic validation that the deployed design still matches the intended trust boundary.

What to watch for: Repeated tunnel flaps, unexplained fallback behaviour, selector drift, and ad hoc exceptions are strong signals that the deployment is becoming fragile. The best practical test is whether another engineer can explain why each tunnel exists, what it protects, and which systems depend on it.

Practitioner takeaway: IPsec is strongest when its cryptography, routing, and operational ownership are designed together, not layered on later as separate concerns.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org