From 4fe6e07630b1aa12b03b2a5d7f0e68fb4427749d Mon Sep 17 00:00:00 2001 From: Raspberry Kan Date: Thu, 12 Nov 2026 20:39:21 +0800 Subject: [PATCH] Fix VPN hotspot routing with private-network bypass enabled. When Android Tethering looks for an upstream VPN interface, it performs a route lookup for 0.0.0.0. However, when private-network bypass is enabled, the split route list does not contain a route matching 0.0.0.0. As a result, Tethering cannot identify the VPN interface as the hotspot upstream, preventing connected devices from accessing the Internet. Fix this by adding 0.0.0.0/32 to bypass_private_route. --- service/src/main/res/values/arrays.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/service/src/main/res/values/arrays.xml b/service/src/main/res/values/arrays.xml index 3017364caa..6f04f9bf0f 100644 --- a/service/src/main/res/values/arrays.xml +++ b/service/src/main/res/values/arrays.xml @@ -2,6 +2,7 @@ + 0.0.0.0/32 1.0.0.0/8 2.0.0.0/7 4.0.0.0/6