mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
Improve: increase tun mtu
This commit is contained in:
@@ -217,7 +217,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
|
|||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private const val TUN_MTU = 9000
|
private const val TUN_MTU = 65535
|
||||||
private const val TUN_SUBNET_PREFIX = 30
|
private const val TUN_SUBNET_PREFIX = 30
|
||||||
private const val TUN_GATEWAY = "172.19.0.1"
|
private const val TUN_GATEWAY = "172.19.0.1"
|
||||||
private const val TUN_PORTAL = "172.19.0.2"
|
private const val TUN_PORTAL = "172.19.0.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user