[GH-ISSUE #2757] Split Tunneling (Allowlist) Conflicts with Android's "Block Connections Without VPN" (Traffic Leak / Routing Failure) #1255

Open
opened 2026-10-13 20:39:00 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @universish on GitHub (Jun 19, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2757

Describe the bug
When Android's native "Always-on VPN" and "Block connections without VPN" settings are enabled, and AmneziaVPN is configured to use the "only the apps from the list should have access via VPN" (Allowlist) mode, unlisted apps are still able to access the internet.

Due to Android's Kill Switch rule, unlisted apps (which are supposed to bypass the VPN tunnel) should have their internet access completely blocked by the OS. Since they still have internet access, this indicates either a traffic leak bypassing the OS kill switch, or AmneziaVPN is incorrectly forcing all unlisted apps through the VPN tunnel despite the allowlist configuration. Consequently, LAN-dependent apps like LocalSend fail to operate because the multicast packets are incorrectly routed.

To Reproduce

  1. Go to Android Settings > VPN and enable "Always-on VPN" and "Block connections without VPN" for AmneziaVPN.
  2. Open AmneziaVPN and go to Settings > Split Tunneling.
  3. Select "Only the apps from the list should have access via VPN".
  4. Add a specific app (e.g., LocalSend) to the list. Do NOT add a web browser to the list.
  5. Connect to the VPN.
  6. Open the unlisted web browser and attempt to load a webpage.

Expected behavior
The unlisted web browser should have NO internet connection. Android's "Block connections without VPN" should drop its traffic because it is instructed to bypass the VPN interface.

Smartphone (please complete the following information):

  • OS: Android 15
  • **SDK:**35
  • Device: Realme 12 Lite (RMX3890)
  • Protocol: AmneziaWG / WireGuard (Specify if different)
  • VPN Server: personal cloud debian
  • App version: 4.8.19.0

Server (please complete the following information):

  • OS: [e.g. Ubuntu 22.04]

Additional context
Actual behavior:
The unlisted web browser successfully connects to the internet.

Originally created by @universish on GitHub (Jun 19, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2757 **Describe the bug** When Android's native "Always-on VPN" and "Block connections without VPN" settings are enabled, and AmneziaVPN is configured to use the "only the apps from the list should have access via VPN" (Allowlist) mode, unlisted apps are still able to access the internet. Due to Android's Kill Switch rule, unlisted apps (which are supposed to bypass the VPN tunnel) should have their internet access completely blocked by the OS. Since they still have internet access, this indicates either a traffic leak bypassing the OS kill switch, or AmneziaVPN is incorrectly forcing all unlisted apps through the VPN tunnel despite the allowlist configuration. Consequently, LAN-dependent apps like LocalSend fail to operate because the multicast packets are incorrectly routed. **To Reproduce** 1. Go to Android Settings > VPN and enable "Always-on VPN" and "Block connections without VPN" for AmneziaVPN. 2. Open AmneziaVPN and go to Settings > Split Tunneling. 3. Select "Only the apps from the list should have access via VPN". 4. Add a specific app (e.g., LocalSend) to the list. Do NOT add a web browser to the list. 5. Connect to the VPN. 6. Open the unlisted web browser and attempt to load a webpage. **Expected behavior** The unlisted web browser should have NO internet connection. Android's "Block connections without VPN" should drop its traffic because it is instructed to bypass the VPN interface. **Smartphone (please complete the following information):** * **OS:** Android 15 * **SDK:**35 * **Device:** Realme 12 Lite (RMX3890) * **Protocol:** AmneziaWG / WireGuard (Specify if different) * **VPN Server:** personal cloud debian * **App version:** 4.8.19.0 **Server (please complete the following information):** - OS: [e.g. Ubuntu 22.04] **Additional context** **Actual behavior:** The unlisted web browser successfully connects to the internet.
Author
Owner

@WowCatQwerty commented on GitHub (Jun 20, 2026):

От себя добавлю, что на Ноутбуке тоже проблема с раздельным туннелирование приложений, оно не работает просто

Всё что добавлено всё равно идёт через ВПН

AMD Ryzen 5 4600H
Озу 16,0 ГБ
NVIDIA GeForce GTX 1650 (4 ГБ)
AMD Radeon(TM) Graphics (497 МБ)

<!-- gh-comment-id:4757221079 --> @WowCatQwerty commented on GitHub (Jun 20, 2026): От себя добавлю, что на Ноутбуке тоже проблема с раздельным туннелирование приложений, оно не работает просто Всё что добавлено всё равно идёт через ВПН AMD Ryzen 5 4600H Озу 16,0 ГБ NVIDIA GeForce GTX 1650 (4 ГБ) AMD Radeon(TM) Graphics (497 МБ)
Author
Owner

@Restwest commented on GitHub (Jun 21, 2026):

Подтверждаю проблемы с раздельным туннелированием приложений на Windows 10. Я использовал self-hosted VPN несколько месяцев, раздельное туннелирование работало корректно. Во время атак на Амнезию я оставался на версии 4.8.15.0. Только когда эта версия перестала работать, обновился сразу до 4.8.19.0 - после этого приложения, добавленные в исключения ещё несколько месяцев назад, стали работать через VPN вопреки настройкам. Пробовал выключать раздельное туннелирование, удалять из него все приложения, снова добавлять и включать, это не помогло. Также удалял и снова устанавливал само приложение Amnezia - тоже не помогло, раздельное туннелирование приложений по-прежнему не работает. (Впрочем, удаление приложения, видимо, было не полным, так как заново установленное приложение сразу запустилось подключённым к моему VPS и сохранило конфигурацию настроек.)

<!-- gh-comment-id:4763445110 --> @Restwest commented on GitHub (Jun 21, 2026): Подтверждаю проблемы с раздельным туннелированием приложений на Windows 10. Я использовал self-hosted VPN несколько месяцев, раздельное туннелирование работало корректно. Во время атак на Амнезию я оставался на версии 4.8.15.0. Только когда эта версия перестала работать, обновился сразу до 4.8.19.0 - после этого приложения, добавленные в исключения ещё несколько месяцев назад, стали работать через VPN вопреки настройкам. Пробовал выключать раздельное туннелирование, удалять из него все приложения, снова добавлять и включать, это не помогло. Также удалял и снова устанавливал само приложение Amnezia - тоже не помогло, раздельное туннелирование приложений по-прежнему не работает. (Впрочем, удаление приложения, видимо, было не полным, так как заново установленное приложение сразу запустилось подключённым к моему VPS и сохранило конфигурацию настроек.)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1255
No description provided.