A system-level defence beyond the tunnel
With leak protection on and connection intent retained (in Global mode, or in Rule mode with TUN on), godusevpn enforces protection through system rules rather than the proxy core’s lifetime alone. During core restart, crash recovery or node unavailability, traffic meant for the tunnel waits on the tunnel path instead of silently falling back to a direct connection. In Rule mode, IP ranges in your direct rules (by default LAN and China IPs) and DNS keep working; direct rules written as domains or processes wait for the tunnel.
Node connections, loopback, permitted LAN access and necessary subscription-refresh fallback have explicit exceptions; ordinary traffic remains constrained.
Recovery continues after the core exits
After an unexpected core exit, the service retains connection intent, regenerates and validates configuration, retries with backoff, then rechecks TUN and safeguards.
Desktop rules live in Windows WFP, Linux nftables or macOS pf; stopping the daemon does not itself erase them. Windows also has boot filters, and Linux loads rules through its service startup chain. macOS launchd is not guaranteed to precede networking, and pf exempts root.
Repair the connection that is actually failing
A Hysteria2/TUIC session can appear alive after a network change or wake while requests keep timing out. godusevpn uses business-traffic failure signals to discard that session; desktop/router builds proactively handshake with the same node and check it again. This stays inside the tunnel: no guard release, adapter change or direct fallback. Valid received data or an explicit target rejection is not blindly classified as a broken tunnel.
Subscription updates also respect existing connections. If the current proxy cannot fetch an update, the client tries the Auto group, then an essential direct fallback for that update request. Unchanged nodes retain their connection where possible. The update exception does not switch other applications to direct access.
Distinguish retry, degradation and guard-release failure
A connection request, a running core and complete protection are separate states. Retrying means connection recovery; degraded means node health or a protection check has failed; guard-release failure means system rules remain. Follow the specific warning.
If leak protection is missing or incomplete, the client still establishes or retains the tunnel to reduce direct application traffic. It reports degradation and repairs rules and adapter protection in place, rather than tearing down a usable tunnel when a guard-rule check fails.
| State | Meaning and response |
|---|---|
| Core exited; retrying | Keep connection intent on; read the error and retry status rather than assuming a direct fallback |
| Connected; protection degraded | Inspect the reported rules, permissions or adapter protection and repair that component |
| No access after disconnecting | Check for guard-release failure; intentionally restore network if ordinary access is needed |
Repair service and restore network serve different goals
Repair service addresses the background program’s installation and operation. Restore network intentionally releases retained protections and restores connectivity. With the guard active, it attempts to turn off leak protection and adapter-IPv6 suppression before disconnecting and restoring networking; inspect both switches before enabling protection again.
For a combined settings save, identify the final intent: stay connected, which mode, and whether direct access is allowed. Switching modes, disabling the option or disconnecting changes guard conditions; “saved” is not enough. Android protection across process death and reboot also needs system Always-on and lockdown.