1. send all traffic to ygg ipv6

This commit is contained in:
vadym 2020-06-11 03:38:06 -07:00
parent abcd38be8b
commit ff7336f23f

View File

@ -56,8 +56,8 @@ class YggdrasilTunService : VpnService() {
tunInterface = builder tunInterface = builder
.addAddress(address, 7) .addAddress(address, 7)
.addRoute("0200::", 7) .addRoute("::", 0)
.addRoute("0.0.0.0", 0) //.addRoute("0.0.0.0", 0)
.establish() .establish()
tunInputStream = FileInputStream(tunInterface!!.fileDescriptor) tunInputStream = FileInputStream(tunInterface!!.fileDescriptor)