Use TUN to catch every program
The system proxy works only for programs that cooperate. TUN adds a virtual network card that all traffic has to pass.
Checked against FlClash 0.9.5
On this page
When you need it
The browser works and other programs don't. Terminals, games and some chat apps never look at the system proxy.
| System proxy | TUN | |
|---|---|---|
| Covers | Programs that read the system setting, like browsers | Nearly everything |
| UDP | Usually not | Yes |
| Rights | None | Administrator approval |
| Battery | Low | Slightly higher |

Turn it on
- Use the TUN switch on the Dashboard, or TUN in the network settings under Tools.
- Approve the prompt. Windows installs a helper service, macOS asks for your password, Linux shows an authorization box.
- Start, and try a program that wasn't proxied before.
Skip this page on Android. Its VPN interface already captures every app.
Stack mode
The stack handles packets that arrive at the virtual card. The default is fine. If a program keeps dropping, try Mixed, System and gVisor in that order, reconnecting each time.
The local network stops working
If a printer or NAS won't open, add a rule sending local addresses direct, such as IP-CIDR,192.168.0.0/16,DIRECT,no-resolve. If your profile has strict-route: true, try turning it off.
Clashes with another VPN
Work VPNs, game boosters and other proxy apps all change the routing table and overwrite one another. Run one at a time. Virtual machine and WSL adapters are normally fine.
Also asked
The switch does nothing.
Approval was cancelled or the helper isn't installed. Quit, run FlClash once as administrator and try again. Similar reports are in 2108.
I only need the terminal. Is there something lighter?
Set HTTPS_PROXY=http://127.0.0.1:7890 in that terminal. It affects only that window.
Read next
Using itSend the terminal, Git, Docker and WSL through FlClashThe browser works but git clone hangs. Every tool reads its proxy from a different place. Here they all are.
Using it46 ms of delay and the video still buffersThe test page is all green and 4K still stalls. Delay and bandwidth are different, and there are a few causes people rarely mention.