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

VPN On Demand

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

VPN On Demand is a connection mode that starts a VPN automatically when a device or app tries to reach defined networks or domains. It uses policy rules and triggers, so the tunnel is created only when needed rather than staying permanently active.

How VPN On Demand Works

VPN On Demand is a policy-driven connection mode, so the device or app does not keep a tunnel permanently active. Instead, the VPN client watches for trigger conditions, such as a target domain, hostname, or network destination, and establishes the tunnel only when those conditions are met. That makes the feature useful for selective protection, but it also means the policy is the security boundary.

Because the tunnel is created in response to reachability rules, the quality of the rule set matters as much as the VPN technology itself. Poorly scoped triggers can send too much traffic into the tunnel, while gaps in the rule set can leave sensitive traffic outside it. In practice, VPN On Demand is less about “always on” privacy and more about conditional trust enforcement.

Where It Fits in Remote Access Security

VPN On Demand is usually part of a broader remote-access design rather than a standalone control. It is commonly used to protect only the traffic that needs internal reachability, while leaving ordinary internet use outside the tunnel. That can reduce overhead, avoid unnecessary routing complexity, and make remote access feel less intrusive for users.

The design trade-off is that the policy must correctly identify when protected access is needed. If the trigger logic is too narrow, users may fall back to direct access paths that were never meant to be exposed. If it is too broad, the organisation can create a de facto always-on tunnel without the operational benefits of a full always-on design. For a broader remote-access perspective, see Remote Access Identity Guide.

Security Implications of Conditional Tunnelling

The main security value of VPN On Demand is that it narrows encrypted access to defined conditions, which can reduce unnecessary exposure of internal routes and services. The main security risk is that the same policy logic becomes a point of failure: if the rules are misconfigured, stale, or incomplete, the device may connect when it should not, or fail to connect when it should.

That makes the feature sensitive to changes in DNS, application endpoints, split-tunnel behaviour, and network segmentation. It also means the trust decision is often made before the user notices anything has happened, which can obscure whether traffic is genuinely protected. In environments that rely on conditional access patterns, zero trust principles are often used to validate access decisions at the point of connection, not just at the endpoint of the tunnel, as reflected in NIST SP 800-207 Zero Trust Architecture.

When VPN On Demand is used for remote access control, the surrounding authentication and device-trust decisions are just as important as the tunnel itself. The tunnel should not be treated as a substitute for strong entry-point authentication or least-privilege reachability policy.

Operational Controls and Failure Modes

Practitioners should think of VPN On Demand as policy engineering, not just client configuration. The trigger set needs to be reviewed for business relevance, change-controlled when domains or services move, and tested across the actual devices and applications that depend on it. Otherwise, the feature can silently degrade into an access gap or an accidental blanket tunnel.

Common failure modes include stale destination rules, overlapping exceptions, incompatible DNS behaviour, and users bypassing the intended connection path because an application resolves or routes differently than expected. Good operational hygiene also includes validating what happens when the VPN is unavailable, because a conditional tunnel that fails closed in the wrong place can become a business outage, while one that fails open can create unintended exposure.

Risk and Threat Considerations

VPN On Demand concentrates risk in the trigger rules and in the tunnel initiation path. If an attacker can influence destination resolution, abuse a trusted domain, or obtain valid user credentials, they may be able to reach internal resources through a tunnel that the organisation assumes is only opening for legitimate use.

Failure mechanism: Weak policy boundaries, stolen credentials, or session abuse can cause the client to establish a trusted VPN path for traffic that should not have been authorised, or to leave intended access paths unprotected.

Impact: The result can be unauthorized internal access, broader lateral movement opportunity, and reduced visibility into which traffic should have been subject to stronger controls.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST Zero Trust (SP 800-207), NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST Zero Trust (SP 800-207)PR.AA-01 — Identity Management, Authentication, and Access ControlVPN On Demand governs conditional access decisions at connection time.
Recommendation — Enforce least-privilege access decisions for conditional VPN entry points.
NIST SP 800-53 Rev 5AC-4 — Information Flow EnforcementPolicy-triggered tunnelling controls what traffic may flow into internal networks.
IA-2 — Identification and Authentication (Organizational Users)VPN entry still depends on strong user authentication before access is granted.
Recommendation — Define and enforce flow rules that only open the tunnel for approved destinations. Require strong user authentication before allowing VPN On Demand access.
CIS Controls v8CIS-6 — Access Control ManagementConditional remote access is an access-path control that must be governed and reviewed.
Recommendation — Review and remove unnecessary VPN access paths and conditional exceptions.
OWASP Non-Human Identity Top 10NHI-05 — Overprivileged NHIConditional VPN access can still become overbroad if policy grants excessive reachability.
Recommendation — Limit the reachability exposed by VPN credentials and client policy to the minimum necessary.

Practitioner Guidance

What to watch for: Review VPN On Demand rules whenever internal domains, SaaS dependencies, or remote-access workflows change. A rule set that once matched business intent can become unsafe or ineffective after a DNS change, application migration, or endpoint reclassification.

Governance implication: Treat the trigger policy as a high-value access control artefact, not a convenience setting. It should have an owner, a change process, and periodic validation against the services it is meant to protect.

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 28, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org