mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-11-13 22:11:03 +00:00
1. send all traffic to ygg ipv6
This commit is contained in:
parent
abcd38be8b
commit
ff7336f23f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user