--- name: vpn-protocols description: Compare or diagnose WireGuard, AmneziaWG, Hysteria 2, TUIC, Shadowsocks, Trojan, OpenVPN, IPsec, Mihomo, V2Ray, MASQUE, and interoperable VPN and proxy transport behavior. --- # VPN protocols Use the [shared knowledge workflow](../knowledge-workflow.md) to gather evidence and decide whether web fallback is needed. 1. Identify protocol revision and actual client/server implementations, builds, and OS versions. Define the intended tunnel mode, address families, control and data paths, and credential-redacted failure evidence. 2. Use NetExpert `search_docs` for the relevant specification, project, and version. Use `get_document` if the excerpt lacks necessary evidence. Use `search_source` when exposed for tagged evidence on implementation-specific options. 3. Check both peers' protocol and TLS compatibility, permitted routes, DNS, handshake timing, UDP path, and encapsulation overhead. For QUIC and MASQUE, verify proxy and client support for the exact mode before interpreting network failure. 4. Use a small authorized test with repeatable inputs. Validate example syntax using the applicable core when supported, and compare counter or log evidence at both ends. 5. Cite the protocol requirements separately from implementation behavior. Explain source and measurement limitations and mark suspected causes.