FlClash v0.9.5 is out for Windows / macOS / Linux / Android Download now

FlClash TUN mode

FlClash TUN (virtual adapter) mode explained: system proxy vs TUN, enabling TUN and granting admin rights, choosing a TUN stack, and fixing DNS leaks and LAN access.

Updated · Applies to FlClash v0.9.5

The system proxy only affects programs that respect it, such as browsers. Games, command-line tools and some desktop apps ignore it — that's when you need the TUN virtual adapter, which captures all traffic at the network layer.

System proxy vs TUN

System proxyTUN mode
Applies toPrograms that respect the system proxy (browsers, etc.)Every program
Needs permissionNoAdmin rights the first time
UDP (games, voice)Usually notYes

How to enable it

  1. Open Settings → Network (or use the TUN switch on the dashboard).
  2. Turn on TUN. The first time, the OS asks for permission (administrator rights on Windows, your password on macOS).
  3. With TUN on you can turn off the system proxy, though leaving both on is usually fine.
FlClash network settings: enabling TUN
Turn on TUN in network settings; switch the TUN stack if you hit compatibility issues

On Android, FlClash always works through the system VPN interface, which is effectively TUN mode — no extra setup needed.

Which TUN stack?

The stack decides how the virtual adapter processes packets. The default suits most setups; if a particular app can't connect or is slow, try switching between gVisor, System and Mixed.

Common issues

Some sites fail with TUN on / DNS leaks

Update first (version 0.8.86 had a DNS leak, see issue #1269), and check that DNS uses fake-ip.

Can't reach LAN devices or printers

Add your LAN range to “Bypass domains / addresses”, or add a DIRECT rule for LAN addresses — the rule generator can write it.

Conflicts with other VPNs

Only one program can own the system routes at a time. Turn off FlClash's TUN before using a work VPN or another proxy tool.

I only want my terminal proxied

Use the terminal proxy generator to set a proxy for git, npm, curl and friends individually.

Don't have FlClash yet?

Free and open source for Windows, macOS, Linux and Android · latest v0.9.5

Go to downloads

Related searches

Covered here: FlClash TUN mode, Clash virtual adapter, proxy games with Clash