mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 07:56:30 +00:00
parent
d406ba7c0d
commit
7597b540c0
@ -64,8 +64,11 @@ class YggdrasilTunService : VpnService() {
|
|||||||
tunInterface = builder
|
tunInterface = builder
|
||||||
.addAddress(address, 7)
|
.addAddress(address, 7)
|
||||||
.allowFamily(OsConstants.AF_INET)
|
.allowFamily(OsConstants.AF_INET)
|
||||||
//.addRoute("0200::", 7)
|
|
||||||
.setMtu(MAX_PACKET_SIZE)
|
.setMtu(MAX_PACKET_SIZE)
|
||||||
|
.addDnsServer("301:2522::53")
|
||||||
|
.addDnsServer("301:2923::53")
|
||||||
|
.addDnsServer("300:4523::53")
|
||||||
|
.addDnsServer("303:8b1a::53")
|
||||||
.establish()
|
.establish()
|
||||||
|
|
||||||
tunInputStream = FileInputStream(tunInterface!!.fileDescriptor)
|
tunInputStream = FileInputStream(tunInterface!!.fileDescriptor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user