TUN Mode vs System Proxy
How the two takeover modes differ, which fits what scenario, and when to enable TUN.
AirLane can take over device traffic two ways: system proxy and TUN mode. Switch in Settings → Network, or quickly from the tray menu.
Settings · Network

Settings → Network: both toggles live here (UI in Chinese)
Comparison#
| System proxy | TUN mode | |
|---|---|---|
| How | Tells the OS to send traffic to a local port | A virtual NIC captures everything |
| Coverage | Only apps that respect proxy settings | Every app, even ones ignoring proxy settings |
| UDP / games | Usually unsupported | Supported |
| Privileges | None | Admin/root (installs a virtual NIC driver) |
| Compatibility | Some apps ignore it | Rare conflicts with the virtual NIC |
Which to pick#
- Daily browsing: system proxy is enough — no privileges needed.
- Games, CLI tools, proxy-unaware apps (Docker, some IDEs, console traffic): TUN required.
- LAN sharing (your PC as gateway for other devices): TUN required.
TUN needs privileges
First TUN launch on Windows asks admin rights to install the Wintun driver; macOS asks for your password to add a network extension. One-time only.They compose
Not mutually exclusive — with TUN on, system-proxy settings stay; disable TUN and you're back on system proxy instantly.Was this doc helpful?Still stuck? Ask on GitHub