mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 16:06:30 +00:00
1. added default routes for all local networks
This commit is contained in:
parent
737219d24f
commit
04cc088f4d
@ -61,7 +61,9 @@ class YggdrasilTunService : VpnService() {
|
|||||||
|
|
||||||
tunInterface = builder
|
tunInterface = builder
|
||||||
.addAddress(address, 7)
|
.addAddress(address, 7)
|
||||||
.addRoute("0.0.0.0", 1)
|
.addRoute("10.0.0.0", 8)
|
||||||
|
.addRoute("172.16.0.0", 12)
|
||||||
|
.addRoute("192.168.0.0", 16)
|
||||||
.addRoute("0200::", 7)
|
.addRoute("0200::", 7)
|
||||||
.setMtu(MAX_PACKET_SIZE)
|
.setMtu(MAX_PACKET_SIZE)
|
||||||
.establish()
|
.establish()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user