mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-02-16 14:53:15 +03:00
Improve: increase tun mtu
This commit is contained in:
parent
03bc3c0876
commit
f856c3f85f
@ -217,7 +217,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
|
||||
}
|
||||
|
||||
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_GATEWAY = "172.19.0.1"
|
||||
private const val TUN_PORTAL = "172.19.0.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user