AirLane

TUN Mode vs System Proxy

v1.0+⏱ 1 min readUpdated

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 · NetworkNetwork settings with TUN and system proxy toggles

Settings → Network: both toggles live here (UI in Chinese)

Comparison#

System proxyTUN mode
HowTells the OS to send traffic to a local portA virtual NIC captures everything
CoverageOnly apps that respect proxy settingsEvery app, even ones ignoring proxy settings
UDP / gamesUsually unsupportedSupported
PrivilegesNoneAdmin/root (installs a virtual NIC driver)
CompatibilitySome apps ignore itRare 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