From 76f0ba17dfd85f737c7f7c3269260570ccc3a649 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 7 Mar 2024 15:57:26 -0500 Subject: [PATCH] Don't use Nebula tunnel for app traffic on Android (#153) --- .../main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt b/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt index af7ba60..620b46a 100644 --- a/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt +++ b/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt @@ -118,6 +118,9 @@ class NebulaVpnService : VpnService() { // Disallow some common, known-problematic apps // TODO Make this user configurable + // Ensure that a misconfigured unsafe_route doesn't block access to the DN API + disallowApp(builder, "net.defined.mobile_nebula") + disallowApp(builder, "net.defined.mobile_nebula.debug") // Android Auto Wireless (https://github.com/DefinedNet/mobile_nebula/issues/102) disallowApp(builder, "com.google.android.projection.gearhead") // Chromecast (https://github.com/DefinedNet/mobile_nebula/issues/102)