Skip to content
Edit this page

Wind

Wind is a modular proxy framework and standalone proxy binary written in Rust (Edition 2024). It provides shared async transport abstractions, protocol codecs, routing, DNS, ACME, and traffic accounting components for projects such as TUIC and Breeze, while also shipping a ready-to-run standalone CLI.

This documentation targets the wind workspace (0.2.0) and is maintained in both English and 简体中文. Use the language switcher in the top header to switch languages on any page.

User Guide

For users building, configuring, or running the standalone wind binary:

  • Getting Started: Build wind from source, initialize a config file, and verify proxying.
  • CLI and Configuration: Command-line flags, YAML/TOML discovery order, WIND_ environment overrides, and strict validation.
  • Inbounds and Outbounds: Complete field references for socks, http, mixed, tunnel inbounds and socks, tuic, naive, load-balance outbounds.
  • Chained Proxies: Combine pinned inbound outbounds, tunnel inbounds, and SOCKS5 UDP outbounds to build multi-hop transports.
  • Transports and Building: Quinn vs. Quiche QUIC backends, ECH, Cronet dynamic/static linking, and SocketPolicy.

Architecture

For developers integrating Wind crates or contributing to the workspace:

  • Architecture and Crates: App/Plugin/Dispatcher abstractions and an overview of all 13 workspace crates and feature flags.
  • Routing and Services: Capabilities and current boundaries of wind-acl, wind-rule, wind-geodata, wind-dns, wind-acme, and wind-base.
  • Runtime State Machines: State transitions across connections, streams, authentication, reconnects, certificate rotation, and troubleshooting.
  • Formal Verification: Verus-proved concurrency, routing, and protocol invariants, Vest wire-format codecs, and local verification commands.

Specifications

Chinese and English editions share identical section numbering and normative requirements:


Source repository · Documentation repository · TUIC Documentation