Tools · Open source

Work Profile VPN Switcher

snood21

Automatically manage work profile when VPN connects or disconnects

Download

Opens the official F-Droid page

Work Profile VPN Switcher screenshot 1Work Profile VPN Switcher screenshot 2Work Profile VPN Switcher screenshot 3Work Profile VPN Switcher screenshot 4Work Profile VPN Switcher screenshot 5Work Profile VPN Switcher screenshot 6

About Work Profile VPN Switcher

App for automatically managing an Android work profile when a VPN connects.

Monitors VPN connections and automatically disables the work profile while a VPN is active, then restores its state after the VPN disconnects. Useful when the work profile contains apps that should not run through the VPN tunnel, or conversely, when work apps need to be isolated from VPN traffic.

Features:

* Automatic disabling of the work profile when VPN connects

* State restoration after VPN disconnects (optional)

* Tracking manual work profile activation while a VPN is active (optional) — choose whether to disable the profile again, or disable the VPN itself instead, keeping the profile enabled (dummy VPN, requires VPN connection permission)

* Allowlist mode — monitor only selected VPN apps

* Denylist mode — monitor all VPN connections except excluded apps (useful for AdGuard)

* Background polling — fallback VPN-detection mechanism

* Russian and English interface

Requirements:

* Android 11 (API 30) or higher

* A configured work profile (via Shelter or similar app)

* MODIFY_QUIET_MODE permission — granted manually via ADB:

adb shell pm grant io.github.snood21.workprofilevpnswitcher android.permission.MODIFY_QUIET_MODE

* For disabling VPN via the dummy VPN — VPN connection permission, requested through a system dialog when enabling that option

Note: the MODIFY_QUIET_MODE permission must be re-granted after a clean reinstall. It persists through regular updates.

If automatic profile disabling on VPN connect does not work, enable Background polling in Advanced settings. Also allow autostart and set battery mode to No restrictions in system settings.

What's new in 1.2.1

* Reworked detection of manual work profile enabling for better device compatibility * Notifications now follow the app language * Fixed notification status: "VPN active" is shown even if the work profile is already off * Message when automatic attempts to enable the work profile are exhausted * Fixed a possible crash in the VPN app picker * Log is saved immediately, max size limited to 1024 KB * Better readability of VPN status in the dark theme

How to install Work Profile VPN Switcher

  1. Tap Download — the app's official page on F-Droid opens.
  2. Install it with the F-Droid app (recommended, for automatic updates), or use the download button on that page.
  3. If Android asks, allow the F-Droid app or your browser to install apps, then tap Install.
  4. Open Work Profile VPN Switcher from your app drawer.

More tools apps

More