The advanced IPv4 series follows the same six routing use cases as the simple policies. It adds OpenVPN-specific observation, bounded repair, qualified fallback where permitted and independently expiring traffic permissions. DNS and payload remain separate: a DNS-only failure does not stop healthy known-address payload, and a payload-only failure does not stop healthy DNS.
Six use cases
| Use case | DNS scope | DNS route |
|---|---|---|
| 1 — DNS Follows VPN Applications | Split by application group | VPN A for selected DNS; direct for normal DNS |
| 2A — All DNS Through the VPN | Host-wide upstream DNS | VPN A |
| 2B — VPN DNS with Direct Fallback | Host-wide upstream DNS | VPN A preferred; explicit direct fallback |
| 3 — Dedicated Direct DNS | Host-wide upstream DNS | Direct only |
| 4A — VPN 1’s DNS and VPN 2 Payload | Host-wide upstream DNS | VPN 1 |
| 4B — Independent DNS Through VPN 1 | Host-wide upstream DNS | VPN 1 |
Selected application payload always uses its assigned VPN; ordinary payload remains direct. Only 2B permits a designated DNS fallback. Cases 4A and 4B keep distinct DNS and payload VPNs. A shared physical/session/protection failure can affect both classes when both depend on it.
Read the accompanying instructions
- Prepare an Advanced IPv4 Deployment: inventory, version/capability checks, ownership, closed-first activation and implementation prerequisites.
- Repair Windows and Health Checks: fifteen-minute windows, 4:30 attempts, eighty-second qualification and independent class deadlines.
- Operate, Restart and Withdraw: status, scoped loss/stop, state-preserving reset, maintenance and rollback.
- Check Advanced IPv4 Failure Behavior: the unexecuted isolated-host acceptance procedure.
Choose your example
The earlier supporting pages remain available at their existing URLs: loss diagnostics, strict recovery, 2B manual return, 2B automatic return and two separate VPN roles. They now use the same approved policy as the six guides above.
What to carry between examples
Use dedicated systemd-managed OpenVPN instances, one management owner per instance and independent route/firewall restrictions. Preserve selected DNS mode and manual holds through restart. An explicit operator recovery restart or host boot can replenish an allowance once; automatic crashes and reconnects do not. Revalidate each class before release.
The written procedures and reference controller/adapters are available. Follow the shared Ubuntu implementation walkthrough to bind a host and use the implemented installation/handoff commands. Linux acceptance remains deferred. Do not treat preparation commands or worksheet files as an installer. The separate third series, Advanced OpenVPN with IPv6, now extends the same six use cases and approved limits to both families. This IPv4-only set continues to block protected IPv6; its rules have not become a dual-stack deployment.