TUN mode and the system proxy
One switch decides whether only the browser is proxied or the whole device is. Without this distinction, most "this one app cannot connect" cases stay unexplained.
Two modes, one dividing line
System proxy: CMFA attaches its local HTTP proxy to VpnService. Apps only use it if they read the system proxy setting — browsers and most download managers do; many native apps, games and messengers do not.
TUN mode: CMFA creates a virtual network interface, takes over all IP traffic, and routes it by rule. Apps need no proxy support and are not aware of being proxied. The cost is one extra hop, and a small number of apps notice the network change.
In the UI both live under Override: "Route system traffic" is the TUN master switch, and "System proxy" is the HTTP-only path.
When TUN is required
| Situation | TUN | Why |
|---|---|---|
| Only the browser needs to reach outside | Not needed | The system proxy is enough, with one less hop |
| Games and proxy-unaware apps need it | Required | They never read the system proxy setting |
| In-app push and WebView requests too | Required | WebView frequently ignores the system proxy |
| Using the phone as a hotspot | Required | Hotspot traffic does not enter the system proxy |
| Per-app routing | Required | Access control only works fully under TUN |
Scroll the table sideways
With TUN on, some banking apps restrict features when they detect a VPN. That is not a CMFA defect — exclude them in Access control.
Turning TUN on and proving it
-
01
Open Override
Gear icon on the Settings tab, or the Override entry at the top, depending on the build.
-
02
Enable "Route system traffic"
Described as routing all system traffic through VpnService. No restart needed; the service rebuilds itself.
-
03
Enable "DNS hijacking" if needed
Described as handling all DNS packets. Left off, some apps resolve around the core, and fake-ip stops applying. If pages load but apps fail, turn this on first.
-
04
Exclude apps that must not be proxied
Access control → mode "Disallow selected apps" → tick banking and intranet apps.
-
05
Verify
Open a site only reachable outside your network. Then open a proxy-unaware game — if both work, routing is correct.
Conflicts with other VPNs and Private DNS
Android allows exactly one active VpnService. Start another VPN client while CMFA runs and the system stops CMFA outright: the notification icon vanishes and traffic falls back to direct.
Since Android 9 there is Private DNS (Settings → Network → Private DNS). With a provider hostname set, the system forces DoT and bypasses the core's DNS handling, which shows up as broken resolution and dead fake-ip. Set it to Automatic or Off while using CMFA.
- If two proxies must coexist, one takes TUN and the other is chained as an HTTP proxy.
- VPN profiles pushed by corporate MDM rank higher and can suppress CMFA entirely.
- "Always-on VPN" and "Block connections without VPN" live in system VPN settings; enabling either by accident cuts the device off.
TUN made it slower
TUN adds one userspace forwarding layer. On weak CPUs that is measurable during large downloads. For browsing, turning TUN off and using the system proxy is faster. If you keep it, disable "unified delay" and set the log level to warning to trim overhead.