The VPN client supplies the connection; routing and DNS policy decide which traffic can use it. This guide explains the operational boundary and what to observe when the connection changes. The routing policies do not depend on a particular VPN client or an availability monitor. No client configuration or Linux runtime test is performed here.
Establish the Connection Independently
Choose and configure the VPN client using its supported connection procedure. Record the client and manager versions, profile identity, authentication method, tunnel interface, local address, any required next hop, and the expected return path. Keep credentials out of review records.
The outer connection to the VPN peer needs its own usable path. Inspect the actual peer address and any transport marks or policy rules the client uses. In the two-VPN scenarios, both outer connections remain direct and independent; neither tunnel should accidentally carry the other’s transport.
Strict VPN DNS can introduce a startup dependency: a client may need DNS before it can establish the tunnel that carries DNS. Provision the endpoint independently, or design an explicit bootstrap policy that preserves normal peer authentication. Do not hide a direct DNS exception inside a strict routing example. A preselected peer IP does not justify disabling certificate or peer-identity checks. An endpoint-address change needs corresponding operational maintenance.
Respect the Routing Policy
The VPN client must supply the interface and addressing required by the selected routing example without replacing its DNS policy or taking over unrelated routes. Configure those behaviors through the client or manager that actually owns them. The settings are implementation-specific; there is no universal service name or VPN profile option.
Record what the owner creates and removes on connection changes. Permanent integration should preserve the policy’s terminal routes and independent firewall guards, and reconcile any changed source address or recreated interface before permitting affected workloads to resume. Temporary resolvectl settings are not proof of persistence. This includes the resolver files and transient launch environment in Example 1, the exact DNS lists in the shared-stub examples, and the fixed source address used by the application foundation’s SNAT rule. A recreated tunnel or changed address calls for revalidation before restarting the reader. Resolver configuration lifetime
Test Startup, Disconnect, and Reconnect
Use a recoverable lab host and independent administrative access. Record the exact supported client/profile actions and test these separately:
- Start from a disconnected state and establish the required interface and addressing.
- Disconnect deliberately. Record which routes, addresses, resolver settings, and firewall rules the owner removes or leaves behind.
- Trigger a controlled internal reconnect using the chosen client’s supported lab procedure. Keep the host’s ordinary connection available. Record whether the interface remains, which lifecycle events appear, and when configuration is restored.
- Check changed addresses, recreated interfaces, and manager reloads. Repeat the routing guide’s acceptance checks using the observed configuration, not assumed old addresses.
The test is incomplete if the client removes a required guard, silently changes the DNS provider, or resumes workloads before their policy is restored. Cached names and established connections do not prove that fresh connections obey the policy. For two VPNs, test each independently, both startup orders, and both unavailable together without swapping their roles.
OpenVPN with NetworkManager
Use the separate OpenVPN/NetworkManager reconnect review for version checks, connection identity, D-Bus observation, and the checked plug-in’s internal-reconnect limitation. These are lifecycle diagnostics for this implementation, not prerequisites for iproute2 routing or a DNS availability test.
The source-reviewed NetworkManager plug-in does not establish a reliable event path for every internal reconnect. Its observation procedure remains untested on the target Linux combination. The separate advanced implementation uses dedicated Community 2.6/systemd instances instead of this NetworkManager integration. Its local source does not establish runtime coverage for the plug-in.
Hand State to Other Tools Explicitly
The VPN owner manages its connection. The routing policy acts on the resulting kernel state. If an integration also changes DNS provider selection, document that additional action and its failure behavior separately.
Any optional availability observer reports what it measured; it does not establish the tunnel. An established VPN session is also not proof that a selected DNS server can answer. That check belongs in Checking DNS Availability.
Review History
Preserved earlier draft (text). Source and local page review: November 26, 2026; integration-scope clarification: November 29, 2026. This observation guide remains untested on Linux. The separate advanced implementation has local source and offline checks, with Linux acceptance still deferred.
Primary references: OpenVPN lifecycle states, NetworkManager dispatcher behavior, and resolver setting lifetime.