Skip to content
CMFA Guide

TUN permission and VPN conflicts

Android allows exactly one active VpnService, so "cannot start the VPN component" is nine times out of ten a second VPN holding the slot, not a permission.

Four ways start-up fails

SymptomCauseFix
"Unable to start VPN component"Another VPN is runningStop other VPN apps, ad blockers included
Prompt confirmed, back to stoppedAn Always-on VPN is configuredDisable Always-on in system VPN settings
Only the work-profile copy failsMDM forbids VPNs in the personal profileUse the work-profile copy, or ask IT
The prompt never appearsThe app's VPN permission is restrictedClear app data and authorise again

Scroll the table sideways

The message is CMFA's catch-all for VpnService preparation failing. The real cause is in the log or in system VPN settings.

Ruling things out

  1. 01

    Stop other VPNs

    Settings → Network → VPN and check what is connected. Ad blockers, corporate clients and game accelerators all count. Disconnect everything, then start CMFA.

  2. 02

    Disable Always-on VPN

    System VPN settings → gear icon → turn off "Always-on VPN" and "Block connections without VPN". The second one cuts the whole device off whenever a VPN switches.

  3. 03

    Authorise again from scratch

    Settings → Apps → CMFA → Storage → Clear data (this loses profiles, export first). Reopen and tick "Always allow" on the VPN prompt.

  4. 04

    Check the work profile and MDM

    With a corporate account, VPN permission inside the work profile is admin-controlled. The personal app cannot borrow it; install a copy inside the work profile instead.

Why only one VPN

VpnService creates a system-level virtual interface and routing table. Two of them fighting over the default route produces loops, so Android permits exactly one active VpnService by design.

That means stacking two proxies on Android is not possible. To chain them, CMFA takes TUN and the other is written into the config as an upstream HTTP proxy, or the reverse.

Do not skip "Always allow"

The start-up dialog has an "Always allow this connection" checkbox. Without it you re-authorise every launch, and reconnects after screen lock can fail because the prompt was never seen.

Permission questions

Authorised, still fails
Look for unable to start VPN in the log. If present, another VPN is competing. If there are no logs at all, the failure happened before the core started — check system VPN settings.
Can I run CMFA and another VPN together?
Not both as TUN. One takes TUN and the other is chained as an upstream proxy in the config, or per-app routing splits apps between tools — still under the single-VpnService rule.
Completely blocked on a corporate phone
MDM can disable third-party VPNs. There is no client-side workaround; it needs an IT admin.
It asks for permission after every reboot
Normally it should not. If it does, "Always allow" did not stick or VPN authorisations were cleared. Clearing app data and re-authorising once usually fixes it.