From 737219d24ffbf899b2cdbce8718feeb71afdbf4a Mon Sep 17 00:00:00 2001 From: vadym Date: Fri, 12 Jun 2020 08:07:17 -0700 Subject: [PATCH] 1. fixed default route --- .../java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt index d4899d3..5e21dfe 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt @@ -61,7 +61,7 @@ class YggdrasilTunService : VpnService() { tunInterface = builder .addAddress(address, 7) - .addRoute("10.0.2.0", 24) + .addRoute("0.0.0.0", 1) .addRoute("0200::", 7) .setMtu(MAX_PACKET_SIZE) .establish()